Skip to content
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

postgresql_server: Wait for restart PostgreSQL replicas to prevent failures #11458

Conversation

aristosvo
Copy link
Collaborator

Fixes #11318

When scaling replica's in a different region, the database is restarted. By putting in a wait condition this is circumvented.

@ghost ghost added the size/S label Apr 24, 2021
@aristosvo aristosvo force-pushed the feature/postgres-replica-scaling-wait-for-restart branch from d8c277f to 29a1c1c Compare April 24, 2021 17:54
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aristosvo - LGTM 👍

@katbyte katbyte added this to the v2.57.0 milestone Apr 25, 2021
@katbyte katbyte merged commit 797f3df into hashicorp:master Apr 25, 2021
katbyte added a commit that referenced this pull request Apr 25, 2021
@ghost
Copy link

ghost commented Apr 30, 2021

This has been released in version 2.57.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.57.0"
}
# ... other configuration ...

@github-actions
Copy link

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 contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

azurerm_postgresql_server scaling with replica in different region results in error
2 participants