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

Enable a failover for the backend_service #72

Closed
denissimonovski opened this issue Aug 19, 2021 · 5 comments · Fixed by #73
Closed

Enable a failover for the backend_service #72

denissimonovski opened this issue Aug 19, 2021 · 5 comments · Fixed by #73

Comments

@denissimonovski
Copy link
Contributor

Can we enable a failover for the ILB backend.
This is the attribute that I am referring to:
https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_region_backend_service#failover

@denissimonovski
Copy link
Contributor Author

I can work on this btw, if approved?

@morgante
Copy link
Contributor

How would you plan to use this? From the documentation, it seems you would have to have two compute_region_backend_service resources (one as a failover). Should the module be updated to add a failover replica?

@denissimonovski
Copy link
Contributor Author

I have second set of MIG (with Instance templates and service accounts) and when a health check on the primary MIG fails I want the ILB to send the traffic to the failover MIG. Currently I set two backends for the ILB and I can see both in the GCP console but the secondary is not marked as failover.

@morgante
Copy link
Contributor

Got it. Yes I think we should update this to accept a failover backend as well.

@denissimonovski
Copy link
Contributor Author

@morgante can you take a look?

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 a pull request may close this issue.

2 participants