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

eventbridge block in aws_s3_bucket_notification does not work. #25118

Closed
wadave opened this issue May 31, 2022 · 4 comments · Fixed by #32093
Closed

eventbridge block in aws_s3_bucket_notification does not work. #25118

wadave opened this issue May 31, 2022 · 4 comments · Fixed by #32093
Labels
service/s3 Issues and PRs that pertain to the s3 service.
Milestone

Comments

@wadave
Copy link

wadave commented May 31, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform AWS Provider Version

Affected Resource(s)

aws_s3_bucket_notification

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label May 31, 2022
@wadave
Copy link
Author

wadave commented May 31, 2022

I used the following code:

resource "aws_s3_bucket_notification" "bucket_notification" {
bucket = var.bucket

eventbridge {
EventBridgeEnabled = true
}
}

@justinretzolk
Copy link
Member

Hey @wadave 👋 The eventbridge argument of the aws_s3_bucket_notification resource is a boolean, so you'd need to update your configuration to be:

resource "aws_s3_bucket_notification" "bucket_notification" {
  bucket      = var.bucket
  eventbridge = true
}

@justinretzolk justinretzolk added waiting-response Maintainers are waiting on response from community or contributor. service/s3 Issues and PRs that pertain to the s3 service. and removed needs-triage Waiting for first response or review from a maintainer. labels Jun 6, 2022
@wadave
Copy link
Author

wadave commented Jun 7, 2022

Thanks.

@github-actions github-actions bot removed the waiting-response Maintainers are waiting on response from community or contributor. label Jun 7, 2022
@github-actions
Copy link

github-actions bot commented Jul 9, 2022

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2022
@github-actions github-actions bot added this to the v5.5.0 milestone Jun 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/s3 Issues and PRs that pertain to the s3 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants