From 548492444d7b50807df4705958c5b84c50e7e9e5 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" {