-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Enhancement]: Improvements to aws_rds_cluster_actiivty_stream #38646
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hey @jbbeal 👋 Thank you for taking the time to raise this! The upstream API action used doesn't return the Kinesis stream ARN, so that's not something we'd be able to add to this resources without upstream changes. On the other hand, the Can you verify whether that would work in your scenario? |
The data source is exactly how I worked around the limitation in the resource, but it does not allow me to apply tagging to the kinesis stream. Are terraform providers constrained to be no better than the underlying AWS API? That would be unfortunate. |
Glad to hear the data source helped work around the limitation for you! As far as being constrained to the underlying API -- outside of a few edge cases, the provider maps as closely to 1:1 with the underlying API as possible. This aligns with the provider design principles that we recommend all providers follow. If you'd like to manage the Kinesis stream that gets created, you could import it, but it would need to be two separate applies (I'd actually recommend to separate the configurations so that you don't wind up overly reliant on targeted applies). There are a few open issues in the main Terraform repository that are tracking requests like yours, as ultimately, this is something that will require a change in Terraform Core before it can be supported:
I'd be remiss if I didn't at least mention Terraform Stacks as well, which should eventually help with this type of multi-apply situation. Since there's no further action for the AWS Provider team at this point in time, I'm going to close this issue. If you run into any other unexpected behavior, please do let us know! |
Warning This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
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. |
Description
Currently trying to set up RDS Cluster activity streams in Terraform for tracking database changes.
At a minimum, the
aws_rds_cluster_activity_stream
should export the ARN for the underlying kinesis data stream. (Using a firehose delivery stream to dump logs into S3 seems like a common use case for this data, and firehose requires a correctly formatted ARN for the kinesis stream.)It should also be possible to set tags on the activity stream so we can allocate costs of the Kinesis stream.
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: