Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not throwing Error while creating multiple s3 buckets with same bucket name in a single AWS account using terraform. #11022

Closed
yerriswamykonanki opened this issue Nov 26, 2019 · 4 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service.

Comments

@yerriswamykonanki
Copy link

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:
image

ExpectedOutput:
image

@ghost ghost added the service/s3 Issues and PRs that pertain to the s3 service. label Nov 26, 2019
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 26, 2019
@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Nov 26, 2019
@bflad
Copy link
Contributor

bflad commented Nov 26, 2019

Related: hashicorp/terraform-plugin-sdk#224

@ewbankkit
Copy link
Contributor

@bflad
Copy link
Contributor

bflad commented Dec 2, 2019

Thanks @ewbankkit -- closing as a duplicate of #367. That issue and the upstream Terraform Plugin SDK issue can be tracked for further updates on this functionality.

@bflad bflad closed this as completed Dec 2, 2019
@ghost
Copy link

ghost commented Mar 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service.
Projects
None yet
Development

No branches or pull requests

3 participants