Difference between revisions of "Terraform AWS provider: assume role property"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
version = ">= 0.13" | version = ">= 0.13" | ||
assume_role { | assume_role { | ||
− | [[role_arn]] = "$(AWS_ROLE_ARN)" | + | [[role_arn]] = "$([[AWS_ROLE_ARN]])" |
} | } | ||
} | } |
Revision as of 06:12, 15 September 2022
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
provider "aws" { region = var.region version = ">= 0.13" assume_role { role_arn = "$(AWS_ROLE_ARN)" } }
Activities
- Read: https://support.hashicorp.com/hc/en-us/articles/360041289933-Using-AWS-AssumeRole-with-the-AWS-Terraform-Provider
- Read: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
See also
Advertising: