Forked from pgporada/gist:0110b3a5c56d0a140db3a61420371322
Created
July 26, 2017 15:17
-
-
Save include/20fa9fd3a0d42ad943796f9b9084bcf3 to your computer and use it in GitHub Desktop.
Terraform AWS provider 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
| variable "region" {} | |
| variable "allowed_account_ids" {} | |
| terraform { | |
| required_version = ">= 0.8.8" | |
| } | |
| provider "aws" { | |
| region = "${var.region}" | |
| profile = "default" | |
| allowed_account_ids = ["${element(split(",", var.allowed_account_ids))}"] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment