Created
February 27, 2020 10:11
-
-
Save ezalejski/7cc31ac4f5468aa9aeff4e75b13669ba to your computer and use it in GitHub Desktop.
Terraform providers example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
region = var.aws_region | |
#Use an assumed role from the target account. | |
assume_role { | |
role_arn = "arn:aws:iam::<PROD_ACCOUNT_ID>:role/administrator-access" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment