Skip to content

Commit

Permalink
update s3 backend for terraform (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenelleman authored Oct 5, 2024
1 parent 52e222c commit 4cf39db
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deployment/backend.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
terraform {
backend "s3" {
bucket = "connections-tfstate" # name of the s3 bucket that was manually created
key = "connections/terraform.tfstate"
region = var.region
key = "terraform.tfstate"
region = "ap-southeast-1"
encrypt = true

# For creating initial tfstate
# shared_credentials_files = ["~/.aws/credentials"]
# profile = "connections-admin"
}
}

0 comments on commit 4cf39db

Please sign in to comment.