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

Configure GCLB in terraform #2180

Merged
merged 4 commits into from May 13, 2024
Merged

Conversation

michaelkedar
Copy link
Member

Because importing existing resources is awkward (and will end up deleting/recreating most things if our names don't line up), I've decided to put all the Load Balancer / Certificate stuff into terraform now. I've tried to match what was set up manually on staging as closely as possible. I also added an IPv6 address, since our App Engine currently also has IPv6.

The google-managed certificate stuff is now set up in terraform, but configuring the DNS CNAME/A/AAAA records still needs to be done manually. I've added an output to the terraform to display all the records that need to be created.

The existing Load Balancer and Certificate stuff needs to be deleted from staging before merging this, and the DNS records need to be updated after.

Copy link
Contributor

@andrewpollock andrewpollock left a comment

Choose a reason for hiding this comment

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

LGTM

groups = [
{
# TODO(michaelkedar): Replace with Cloud Run when ready
Copy link
Contributor

Choose a reason for hiding this comment

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

The picture I had in my head was we could have both back ends ~now, with the Cloud Run backend drained of any traffic. Is that possible to do?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I've managed to work out how to do this with c650a4d

@michaelkedar michaelkedar merged commit 995765d into google:master May 13, 2024
11 checks passed
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.

None yet

2 participants