🔧 chore(main.tf): add Terraform backend configuration for S3 to store state remotely

This commit is contained in:
Matheus Jacques 2023-08-25 18:19:42 +02:00
commit b3c0f3b853

View file

@ -1,3 +1,11 @@
terraform {
backend "s3" {
bucket = "terraform-5fso81t4tn8z"
key = "backend/terraform.tfstate"
region = "us-east-1"
}
}
provider "aws" {
region = "us-east-1" # Choose the region as needed
}