From af4a968151faa1db1de0e9cfe859b6aad6eb5391 Mon Sep 17 00:00:00 2001 From: Alex <8507196+Fructokinase@users.noreply.github.com> Date: Tue, 21 Feb 2023 18:20:59 -0800 Subject: [PATCH] [Custom DC] Use gcs backend for Terraform state (#209) * [Custom DC] Fix terraform deployment for BT automation * Make BT table deletable * [Custom DC] Use gcs backend for state --------- Co-authored-by: Alex Chen --- bigtable_automation/terraform/main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bigtable_automation/terraform/main.tf b/bigtable_automation/terraform/main.tf index fb21233..f225088 100644 --- a/bigtable_automation/terraform/main.tf +++ b/bigtable_automation/terraform/main.tf @@ -13,6 +13,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +terraform { + backend "gcs" {} +} + locals { resource_suffix = ( var.resource_suffix != null ?