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

chore: Postgres replica depend on master #187

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

k3yss
Copy link
Collaborator

@k3yss k3yss commented Jun 15, 2024

This PR addresses the issue where running the terraform apply command results in a failure due to the creation of replica and master in parallel, which caused permission errors.

@k3yss k3yss changed the title fix: Use depends_on to address the dependency of pg replica on pg master Use google_sql_database_instance.instance.name to implicitly define dependency between replica and master Jun 25, 2024
@sandipndev sandipndev changed the title Use google_sql_database_instance.instance.name to implicitly define dependency between replica and master chore: pg replica depend on master Jun 25, 2024
@sandipndev sandipndev merged commit 1eb536b into GaloyMoney:main Jun 25, 2024
1 check passed
@k3yss k3yss deleted the work/keys/pg-tf-example branch June 25, 2024 09:34
@k3yss k3yss changed the title chore: pg replica depend on master chore: Postgres replica depend on master Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants