Difference between revisions of "Terraform region"

From wikieduonline
Jump to navigation Jump to search
 
(5 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
 
  }
 
  }
  
Line 8: Line 9:
 
  provider "aws" {
 
  provider "aws" {
 
   region    = [[var.]]region
 
   region    = [[var.]]region
   version    = ">= 0.13"
+
   [[version]]   = ">= 0.13"
 
   [[assume_role]] {
 
   [[assume_role]] {
     role_arn = "$(AWS_ROLE_ARN)"
+
     [[role_arn]] = "[[arn:aws:iam::01234567890:role/]]role_in_account_b"
 
   }
 
   }
 
  }  
 
  }  
Line 17: Line 18:
  
 
== 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: