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

[Bug]: make source_ids optional in aws_dms_event_subscription again #35430

Closed
jcourteauupgrade opened this issue Jan 22, 2024 · 3 comments · Fixed by #35541
Closed

[Bug]: make source_ids optional in aws_dms_event_subscription again #35430

jcourteauupgrade opened this issue Jan 22, 2024 · 3 comments · Fixed by #35541
Assignees
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. service/dms Issues and PRs that pertain to the dms service.
Milestone

Comments

@jcourteauupgrade
Copy link

Terraform Core Version

1.5.6

AWS Provider Version

5.33.0

Affected Resource(s)

  • aws_dms_event_subscription

Expected Behavior

source_ids should be optional; the default behaviour creates an event subscription for all sources. When a value is provided, the subscriptions apply only to those sources.

See the AWS docs on this - https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateEventSubscription.html#API_CreateEventSubscription_RequestSyntax

Actual Behavior

In #33731, the source_ids field was made mandatory, in an effort to reflect the docs. However, in that case, the docs were wrong, and the docs should have been fixed instead.

With the aboce change, you have to provide source_ids = [] to apply a subscription to all resources, which is very counterintuitive and wouldn't be something you'd know unless you read the AWS API docs carefully and did some experimentation.

I'd recommend reverting part of the previous changeset (the source_type change is still fine and should be preserved), and updating the docs to make it clear how source_ids works, using the AWS API docs as a guide.

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

n/a

Steps to Reproduce

n/a

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

@jcourteauupgrade jcourteauupgrade added the bug Addresses a defect in current functionality. label Jan 22, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • 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.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/dms Issues and PRs that pertain to the dms service. label Jan 22, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label Jan 22, 2024
@justinretzolk justinretzolk added regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. and removed needs-triage Waiting for first response or review from a maintainer. labels Jan 22, 2024
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Jan 22, 2024
@ewbankkit ewbankkit self-assigned this Jan 29, 2024
@github-actions github-actions bot added this to the v5.35.0 milestone Jan 29, 2024
@github-actions github-actions bot removed the bug Addresses a defect in current functionality. label Feb 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

This functionality has been released in v5.35.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@justinretzolk justinretzolk added the bug Addresses a defect in current functionality. label Feb 10, 2024
Copy link

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 Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. regression Pertains to a degraded workflow resulting from an upstream patch or internal enhancement. service/dms Issues and PRs that pertain to the dms service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants