Closed za closed 4 months ago
It works, after I renamed the bucket name to ec2-temp-bucket-qwerty-${data.aws_caller_identity.current.account_id}
:
$ terraform apply --auto-approve
Apply complete! Resources: 44 added, 1 changed, 2 destroyed.
Outputs:
app_url = "<snip>.amazonaws.com/prod/react"
The error was due to the S3 bucket naming conventions Bucket names must be unique across all AWS accounts in all the AWS Regions within a partition, thus you received the "BucketAlreadyExists" error, someone named a bucket ec2-temp-bucket-(Your Account ID)
.
Hmm... but why somehow I can create this bucket on different region? For example: ap-southeast-3
@SSKale1 .
Hi there,
I am getting this ERROR after running terraform on my local linux machine:
This is the list of my s3 buckets:
Am I missing something? Thanks.