-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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]: Provider produced inconsistent result after apply [aws_dms_replication_subnet_group] #27420
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
There's a missing
|
We encounter the same issuer. Is there anyone following this item ? |
I also encounter the same issuer!!! |
On version |
so in my case, i'm taking the list of subnet ids from an output of a remote state object. if i cast this output to a list, this works:
without the this works in |
After turning on
The issue is related to the special role that AWS tries to create when creating a subnet group. Apparently, the provider doesn't create this role automatically, so you need to create this IAM role as well:
Let me know if this fixes the issue! |
We should add this to the documentation: 👆 |
There are 3 different problems described here:
Solving 1, as pointed out by @ewbankkit, requires a code change. 2 and 3 are documentation issues. |
This functionality has been released in v4.50.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! |
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. |
Terraform Core Version
1.0.0
AWS Provider Version
4.36.1
Affected Resource(s)
aws_dms_replication_subnet_group
Expected Behavior
An AWS DMS Replication Subnet Group should have been created
Actual Behavior
No subnet group created, and an error is thrown.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Just try to create a subnet group.
Plan output
The text was updated successfully, but these errors were encountered: