From 1582ca8f16475a5d45d679fdd52e3214307e2c7d Mon Sep 17 00:00:00 2001 From: lavenderguitar Date: Thu, 10 Feb 2022 00:53:04 -0500 Subject: [PATCH] Include linode object storage for backend --- terraform/backend.tf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 terraform/backend.tf diff --git a/terraform/backend.tf b/terraform/backend.tf new file mode 100644 index 0000000..cbb4e2b --- /dev/null +++ b/terraform/backend.tf @@ -0,0 +1,9 @@ +terraform { + backend "s3" { + bucket = "prod-env" + key = "./terraform.tfstate" + region = "us-east-1" # e.g. us-east-1 + endpoint = "us-southeast-1.linodeobjects.com" # e.g. us-east-1.linodeobjects.com + skip_credentials_validation = true # Terraform will ask AWS about credential validation instead of Linode if this is enabled. + } +} \ No newline at end of file