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

From wikieduonline
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lowercase}}
 
  
 +
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
  
https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
 
  
 +
[[Terraform provider]] [[Terraform provider: AWS|AWS]]:
 +
[[Terraform provider: AWS|provider "aws"]] {
 +
  region    = var.region
 +
  version    = ">= 0.13"
 +
  assume_role {
 +
    [[role_arn]] = "arn:aws:iam::01234567890:[[role/]]role_in_account_b"
 +
  }
 +
}
 +
 +
== Related ==
 +
* [[ExternalId]]
 +
* [[AWS policies]]
 +
 +
== 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 ==
 
== See also ==
 +
* {{aws sts}}
 
* {{STS}}
 
* {{STS}}
 +
* {{tf aws}}
 +
 +
[[Category:AWS]]

Latest revision as of 16:37, 10 October 2024

Advertising: