Terraform AWS provider: assume role property
Jump to navigation
Jump to search
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
provider "aws" { region = var.region version = ">= 0.13" assume_role { role_arn = "arn:aws:iam::01234567890:role/role_in_account_b" } }
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: