Skip to content

Instantly share code, notes, and snippets.

@adamar
Created July 6, 2017 05:56
Show Gist options
  • Save adamar/c5b5f5d13a0553fe53014d4f07469cf8 to your computer and use it in GitHub Desktop.
Save adamar/c5b5f5d13a0553fe53014d4f07469cf8 to your computer and use it in GitHub Desktop.
module "app" {
source = "../../modules/app"
asg_name= "app"
azs = ["${var.azs}"]
subnets = ["${var.subnets}"]
}
module "app" {
source = "../../../modules/app"
asg_name= "app"
azs = ["${var.azs}"]
subnets = ["${var.subnets}"]
}
# Remote State
terraform {
backend "s3" {
encrypt = "true"
bucket = "terraform-state"
key = "terraform/app/new-env/terraform.tfstate"
region = "us-east-1"
lock_table = "terraform_locks"
}
}
# Remote State
terraform {
backend "s3" {
encrypt = "true"
bucket = "terraform-state"
key = "terraform/app/terraform.tfstate"
region = "us-east-1"
lock_table = "terraform_locks"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment