-
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
Aurora Global cluster timeout and update-in-place all the time #10150
Comments
Hi @jamengual, thank you for submitting this issue and apologies you've run into this issue! From the logs, it looks like you're referring to the non-empty plan that results after creation of the rds_cluster as the lifecycle {
ignore_changes = [replication_source_identifier]
} On our end, we'll look into marking this attribute as |
Hi @jamengual , since it's been some time since opening this issue and a newer terraform/provider/module version may address this, I'm going to close this for the time being. Please do reach out if there are any new findings with later versions of the provider. |
Thanks @anGie44 , I did not reply before but I did use the workaround and since then I have not used it again in the new provider versions, but it is ok to close the issue |
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. |
Community Note
Terraform Version
0.12.7
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/jamengual/3b44ec91777090dea73c3957b87aae9f
Expected Behavior
The aurora clusters that joined the global cluster should not require any modifications
Actual Behavior
Every time that apply is run the Aurora cluster members of the global cluster wants to modify
replication_source_identifier
so this should be ignored.
Steps to Reproduce
terraform apply -target module.main_primary_cluster -var cluster_size=0
terraform apply -target module.main_primary_cluster -var cluster_size=2
terraform apply -target module.main_secondary_cluster -var cluster_size=0
terraform apply -target module.main_secondary_cluster -var cluster_size=2
terraform apply
Important Factoids
Timeouts
Tested in different regions, different instances size to no avail, the timeouts are happening 90% of the time if cluster_size=2, I tried
different internet connections and such thinking it was a problem in my setup.
The
replication_source_identifier
update-in-place happens 100% of the time.I created my own fork of the clousposse module to add the global support that is basically 2 line
change so there is no hidden magic or loops going one here.
The text was updated successfully, but these errors were encountered: