Difference between revisions of "Terraform AWS provider: assume role property"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
version = ">= 0.13" | version = ">= 0.13" | ||
assume_role { | assume_role { | ||
− | [[role_arn]] = " | + | [[role_arn]] = "arn:aws:iam::01234567890:[[role/]]role_in_account_b" |
} | } | ||
} | } | ||
+ | == Related == | ||
+ | * [[ExternalId]] | ||
+ | * [[AWS policies]] | ||
== Activities == | == Activities == | ||
Line 20: | Line 23: | ||
* {{aws sts}} | * {{aws sts}} | ||
* {{STS}} | * {{STS}} | ||
+ | * {{tf aws}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 16:37, 10 October 2024
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" } }
Related[edit]
Activities[edit]
See also[edit]
- AWS STS
(sts:)
,aws sts
[get-session-token
|get-caller-identity
|assume-role | assume-role-with-web-identity | assume-role-with-saml | get-access-key-info ]
- STS, AWS Security Token Service (STS),
aws sts
, Terraform AWS provider:assume_role
- Terraform AWS: provider, resources, modules, data sources, VPC, IAM, Net, EC2, S3, Route53, ACM, CloudWatch, SES, RDS, ECS,
awscc, autoscaling, EKS
Advertising: