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

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
 
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 ==
 
== See also ==
 
* {{STS}}
 
* {{STS}}

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: