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

Add and update GCP VPC peering with retries #43

Merged
merged 5 commits into from
Dec 18, 2023
Merged

Conversation

tbroden84
Copy link
Contributor

WHY are these changes introduced?

Reported issues about "Timeout talking to backend" and lack of retries when fetching peering information. Also overall lack of configurable retries or endless loops.

WHAT is this pull request doing?

  • Make retries configurable through sleep and timeout
  • Add retry for request and keep track on attempts made
  • Re-use retry and wait func between instanceID or vpcID requests.
  • Clean up code

HOW can this pull request be tested?

Manual make VPC peering through our CloudAMQP Terraform provider for clusters hosted in GCP.

@tbroden84 tbroden84 merged commit c1a43f9 into main Dec 18, 2023
@tbroden84 tbroden84 deleted the gcp-vpc-peering-retries branch December 18, 2023 07:57
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