From 27dfab2eb1b28cc27375d1fe6d807048d8321dec Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Thu, 9 Jun 2022 03:23:53 +0000 Subject: [PATCH] dns: use linode object storage for tfstate --- dns/main.tf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dns/main.tf b/dns/main.tf index bc40892..17da10f 100644 --- a/dns/main.tf +++ b/dns/main.tf @@ -5,6 +5,15 @@ terraform { version = "1.26.0" } } + + backend "s3" { + bucket = "treehouse-state" + key = "tfstate" + region = "us-southeast-1" + endpoint = "us-southeast-1.linodeobjects.com" + skip_credentials_validation = true + skip_region_validation = true + } } provider "linode" {