Skip to content

Instantly share code, notes, and snippets.

@ezalejski
Created February 27, 2020 10:11
Show Gist options
  • Save ezalejski/7cc31ac4f5468aa9aeff4e75b13669ba to your computer and use it in GitHub Desktop.
Save ezalejski/7cc31ac4f5468aa9aeff4e75b13669ba to your computer and use it in GitHub Desktop.
Terraform providers example
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