🔧 chore(main.tf): add Terraform backend configuration for S3 to store state remotely
This commit is contained in:
parent
d13771d8c9
commit
b3c0f3b853
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue