diff options
Diffstat (limited to 'astroshop-terraform/backend.tf')
| -rw-r--r-- | astroshop-terraform/backend.tf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/astroshop-terraform/backend.tf b/astroshop-terraform/backend.tf index 10553ae..88e6e36 100644 --- a/astroshop-terraform/backend.tf +++ b/astroshop-terraform/backend.tf @@ -1,5 +1,7 @@ +data "aws_caller_identity" "current" {} + resource "aws_s3_bucket" "terraform_state" { - bucket = "astroshop-terraform-state" + bucket = "astroshop-terraform-state-${data.aws_caller_identity.current.account_id}" lifecycle { prevent_destroy = true |
