From 5334cb8755214ce122a164a0100313ba0f7468d8 Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 10 Jan 2022 12:01:49 -0500 Subject: [PATCH] update examples --- examples/dns-vpc-region-vpcN/apps/tf-run.data | 2 +- examples/ec2-vpc-region-vpcN/apps/region.tf | 4 ++++ .../templates/{test-ip.txt.tpl => test-ips.txt.tpl} | 0 examples/ec2-vpc-region-vpcN/apps/tf-run.data | 9 +++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 examples/ec2-vpc-region-vpcN/apps/region.tf rename examples/ec2-vpc-region-vpcN/apps/test-instances/templates/{test-ip.txt.tpl => test-ips.txt.tpl} (100%) create mode 100644 examples/ec2-vpc-region-vpcN/apps/tf-run.data diff --git a/examples/dns-vpc-region-vpcN/apps/tf-run.data b/examples/dns-vpc-region-vpcN/apps/tf-run.data index bb11b5c..aa35574 100644 --- a/examples/dns-vpc-region-vpcN/apps/tf-run.data +++ b/examples/dns-vpc-region-vpcN/apps/tf-run.data @@ -3,7 +3,7 @@ REMOTE-STATE COMMAND tf-directory-setup.py -l none -f COMMAND setup-new-directory.sh COMMAND tf-init -upgrade +ALL COMMAND ln -sf ../variables.vpc.auto.tfvars . COMMAND ln -sf ../variables.vpc.tf . -ALL COMMAND tf-directory-setup.py -l s3 diff --git a/examples/ec2-vpc-region-vpcN/apps/region.tf b/examples/ec2-vpc-region-vpcN/apps/region.tf new file mode 100644 index 0000000..b7b1696 --- /dev/null +++ b/examples/ec2-vpc-region-vpcN/apps/region.tf @@ -0,0 +1,4 @@ +locals { + region = var.region +} + diff --git a/examples/ec2-vpc-region-vpcN/apps/test-instances/templates/test-ip.txt.tpl b/examples/ec2-vpc-region-vpcN/apps/test-instances/templates/test-ips.txt.tpl similarity index 100% rename from examples/ec2-vpc-region-vpcN/apps/test-instances/templates/test-ip.txt.tpl rename to examples/ec2-vpc-region-vpcN/apps/test-instances/templates/test-ips.txt.tpl diff --git a/examples/ec2-vpc-region-vpcN/apps/tf-run.data b/examples/ec2-vpc-region-vpcN/apps/tf-run.data new file mode 100644 index 0000000..aa35574 --- /dev/null +++ b/examples/ec2-vpc-region-vpcN/apps/tf-run.data @@ -0,0 +1,9 @@ +VERSION 1.0.1 +REMOTE-STATE +COMMAND tf-directory-setup.py -l none -f +COMMAND setup-new-directory.sh +COMMAND tf-init -upgrade +ALL +COMMAND ln -sf ../variables.vpc.auto.tfvars . +COMMAND ln -sf ../variables.vpc.tf . +COMMAND tf-directory-setup.py -l s3