From 23192fed3d1090ef600b0d533b910b2f2ec71ee3 Mon Sep 17 00:00:00 2001 From: Lucas Guima Date: Sat, 21 Oct 2023 18:11:56 -0300 Subject: [PATCH] Set up Terraform Backend --- kube-news/tf/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kube-news/tf/main.tf b/kube-news/tf/main.tf index 507a7471..9b989c1e 100644 --- a/kube-news/tf/main.tf +++ b/kube-news/tf/main.tf @@ -5,6 +5,12 @@ terraform { version = "5.21.0" } } + + backend "s3" { + bucket = "bucket-lguima-imersao-devops-cloud-02" + key = "terraform.state" + region = "us-east-1" + } } provider "aws" {