Difference between revisions of "Terraform region"

From wikieduonline
Jump to navigation Jump to search
(Created page with " provider "aws" { region = local.region } == See also == * {{Terraform aws provider}} * {{Terraform}} Category:Terraform")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  
 +
<code>[[provider.tf]]</code>
 
  [[provider]] "aws" {
 
  [[provider]] "aws" {
   [[region]] = [[local.region]]
+
   [[region]] = [[local.]]region
 
  }
 
  }
 +
 +
 +
provider "aws" {
 +
  region    = [[var.]]region
 +
  [[version]]    = ">= 0.13"
 +
  [[assume_role]] {
 +
    [[role_arn]] = "[[arn:aws:iam::01234567890:role/]]role_in_account_b"
 +
  }
 +
}
  
  
  
 
== See also ==
 
== See also ==
* {{Terraform aws provider}}
+
* {{terraform aws resources}}
 
* {{Terraform}}
 
* {{Terraform}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 06:32, 15 September 2022

Advertising: