-
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
RDS Bugfix - Replica creation with Allocated Storage and IOPS #12548
RDS Bugfix - Replica creation with Allocated Storage and IOPS #12548
Conversation
@bflad You seem to be the main person contributing to the rds resources, Im curious if you have any comment on how to make it better to get it fixed :) |
Up. It's been in the queue for a long time and I'd love to work with someone to get it in. |
Ignore allocated storage while creating a Read Replica * Fixes Issue hashicorp#12493 Tests: * The acceptance test (allocatedStorageAndIops that would be previously failing), shows the bug by setting up a Replica DB with both IOPS and Allocated storage. * Also Added an acceptance test for Iops modification to confirm code is ok because of the returned error message in the issue. Didn't show failures previously. Fix: * Ignore allocated storage when creating a read replica as this value cannot be different from the primary. * Update doc to reflect param handling difference.
Co-Authored-By: Muffy Barkocy <muffybarkocy@gmail.com>
d95a953
to
7b2203e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🎉
Output from acceptance tests (us-west-2
):
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops (1735.36s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Iops (1898.43s)
Output from acceptance tests (GovCloud):
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_AllocatedStorageAndIops (1714.20s)
--- PASS: TestAccAWSDBInstance_ReplicateSourceDb_Iops (1870.51s)
Thanks @YakDriver for driving it through the finish line! |
This functionality has been released in v3.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Ignore allocated storage while creating a Read Replica
Tests:
setting up a Replica DB with both IOPS and Allocated storage.
message in the issue. Didn't show failures previously.
Fix:
Community Note
Closes Issue #12493
Release note for CHANGELOG:
Output from acceptance testing: