Not throwing Error while creating multiple s3 buckets with same bucket name in a single AWS account using terraform. #11022
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/s3
Issues and PRs that pertain to the s3 service.
Hello All,
When running terraform to create multiple s3 buckets with the same name in a single AWS account it is not throwing an error like the bucket has already existed.
Sample code:
resource "aws_s3_bucket" "abc" {
bucket = "demo-test"
}
resource "aws_s3_bucket" "abcd" {
bucket = "demo-test"
}
CurrentOutput:
ExpectedOutput:
The text was updated successfully, but these errors were encountered: