From 6ed7506305305c60220b7bd679bc855a19258386 Mon Sep 17 00:00:00 2001 From: xpk Date: Mon, 10 Aug 2020 15:37:33 +0800 Subject: [PATCH] NEW: use s3 and dynamo for state --- vpc-subnets/state.tf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 vpc-subnets/state.tf diff --git a/vpc-subnets/state.tf b/vpc-subnets/state.tf new file mode 100644 index 0000000..d482c18 --- /dev/null +++ b/vpc-subnets/state.tf @@ -0,0 +1,9 @@ +terraform { + backend "s3" { + encrypt = true + bucket = "tfstate-sandbox-hkex-5727" + dynamodb_table = "tflock-sandbox-HKEX-5727" + key = "network/terraform.tfstate" + region = "ap-southeast-1" + } +}