Difference between revisions of "Terraform AWS provider: assume role property"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
  
[[Terraform provider]] AWS:
+
[[Terraform provider]] [[Terraform AWS provider|AWS]]:
 
  provider "aws" {
 
  provider "aws" {
 
   region    = var.region
 
   region    = var.region

Revision as of 12:30, 10 February 2022


https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html


Terraform provider AWS:

provider "aws" {
  region     = var.region
  version    = ">= 0.13"
  assume_role {
    role_arn = "$(AWS_ROLE_ARN)"
  }
} 


See also

Advertising: