-
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
resource/aws_rds_global_cluster: Add force_destroy and source_db_cluster_identifier arguments, add global_cluster_members attribute #14487
Conversation
@bflad Which AWS provider version are you planning to release this in? |
…ter_identifier arguments, add global_cluster_members attribute Reference: #10965 Output from acceptance testing: ``` --- PASS: TestAccAWSRdsGlobalCluster_disappears (11.01s) --- PASS: TestAccAWSRdsGlobalCluster_Engine_Aurora (14.06s) --- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_AuroraPostgresql (14.18s) --- PASS: TestAccAWSRdsGlobalCluster_basic (14.27s) --- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_AuroraMySQL (14.55s) --- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_Aurora (14.72s) --- PASS: TestAccAWSRdsGlobalCluster_DeletionProtection (21.99s) --- PASS: TestAccAWSRdsGlobalCluster_DatabaseName (23.70s) --- PASS: TestAccAWSRdsGlobalCluster_StorageEncrypted (25.16s) --- PASS: TestAccAWSRdsGlobalCluster_SourceDbClusterIdentifier (168.11s) ```
9341ff3
to
106cc5d
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.
LGTM 👍
Output of acceptance tests:
--- PASS: TestAccAWSRdsGlobalCluster_DatabaseName (24.07s)
--- PASS: TestAccAWSRdsGlobalCluster_DeletionProtection (24.72s)
--- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_Aurora (18.20s)
--- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_AuroraMySQL (17.95s)
--- PASS: TestAccAWSRdsGlobalCluster_EngineVersion_AuroraPostgresql (17.04s)
--- PASS: TestAccAWSRdsGlobalCluster_Engine_Aurora (17.20s)
--- PASS: TestAccAWSRdsGlobalCluster_SourceDbClusterIdentifier (160.59s)
--- PASS: TestAccAWSRdsGlobalCluster_StorageEncrypted (25.82s)
--- PASS: TestAccAWSRdsGlobalCluster_basic (17.98s)
--- PASS: TestAccAWSRdsGlobalCluster_disappears (14.17s)
"global_cluster_identifier": { | ||
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, | ||
}, | ||
"global_cluster_members": { |
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.
💯
This has been released in version 3.1.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 for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #10965
Release note for CHANGELOG:
Attempting to add
Computed: true
to theaws_rds_cluster
resource to match the Terraform core contract that the value will be potentially filled in by the API outside of configuration prevents practitioners from being able to successfully remove a DB Cluster from the Global Cluster, even with setting the value to""
. This is likely a bug in the Terraform Plugin SDK, but its behavior has likely been present for so long that attempting to fix it would present its own major problems for providers. For now, just documentignore_changes
as the implementation.Output from acceptance testing: