initial commit of replacement infrastructure automation
[awsible] / infrastructure / vpcaccess-stack / data_vpc.tf
diff --git a/infrastructure/vpcaccess-stack/data_vpc.tf b/infrastructure/vpcaccess-stack/data_vpc.tf
new file mode 100644 (file)
index 0000000..12f8be7
--- /dev/null
@@ -0,0 +1,9 @@
+data "terraform_remote_state" "vpc" {
+       backend = "s3"
+       config {
+               bucket = "${var.remote_state_bucket}"
+               region = "${var.region}"
+               key = "${var.environment}/vpc.tfstate"
+               dynamodb_table = "${var.remote_state_table}"
+       }
+}