Editing Terraform provider: aws

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs
 
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs
* <code>[[profile]]</code>, <code>[[shared_config_files]]</code>, <code>[[shared_credentials_files]]</code>
 
  
== Configuration examples ==
 
{{basic tf aws profile}}
 
  
  [[provider]] "aws" {
+
  provider "aws" {
   [[version =]] "~> 3.38.0"
+
   version = "~> 3.38.0"
 
   [[region]] = "[[us-east-1]]"
 
   [[region]] = "[[us-east-1]]"
 
   [[profile]] = "your_profile_name"
 
   [[profile]] = "your_profile_name"
 
  }
 
  }
 +
  
 
  provider "aws" {
 
  provider "aws" {
   region    = [[var.region]]
+
   region    = [[var.]]region
 
   version    = ">= 0.13"
 
   version    = ">= 0.13"
 
   [[assume_role]] {
 
   [[assume_role]] {
 
     [[role_arn]] = "arn:aws:iam::01234567890:role/role_in_account_b"
 
     [[role_arn]] = "arn:aws:iam::01234567890:role/role_in_account_b"
 
   }
 
   }
}
+
  }  
 
 
Including Tags:
 
{{tf_aws_provider_tags}}
 
 
 
[[Dynamic Credentials with the AWS Provider]]:
 
provider "aws" {
 
  [[shared_config_files]] = [var.tfc_aws_dynamic_credentials.default.shared_config_file]
 
  }
 
  
== Installing ==
 
Installing hashicorp/aws v4.31.0
 
Installing [[hashicorp/]]aws v4.29.0...
 
[[Installing hashicorp]]/aws v4.28.0...
 
Installing hashicorp/aws v4.15.1...
 
Installing hashicorp/aws v3.63.0...
 
  
 
== Resources ==
 
== Resources ==
Line 105: Line 89:
 
== Errors ==
 
== Errors ==
 
* <code>[[Error: Provider produced inconsistent final plan]]</code>
 
* <code>[[Error: Provider produced inconsistent final plan]]</code>
* <code>[[Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.]]</code>
+
* [[Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.]]
* <code>[[Error: configuring Terraform AWS Provider: failed to get shared config profile]]</code>
 
* <code>[[AWS Error: A Profile was specified along with the environment variables "AWS ACCESS KEY ID" and "AWS SECRET ACCESS KEY". The Profile is now used instead of the environment variable credentials.]]</code>
 
 
 
== Limitation ==
 
* <code>[[aws account disable-region]]</code> not implemented
 
  
 
== Related terms ==
 
== Related terms ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: