Created
March 12, 2017 01:48
-
-
Save pgporada/0110b3a5c56d0a140db3a61420371322 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