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

[how-to-access-internal-only-service-while-retaining-internet]: DNS zone breaks access to different Cloud Run #1411

Open
salvisolamartinell opened this issue Jun 10, 2024 · 0 comments

Comments

@salvisolamartinell
Copy link

salvisolamartinell commented Jun 10, 2024

Just a small problem I had:

At https://codelabs.developers.google.com/codelabs/how-to-access-internal-only-service-while-retaining-internet#4, subsection "Create Cloud DNS zone for run.app URLs" the DNS zone is created with --dns-name="a.run.app.", which works fine in isolation, but affects all Cloud Run services that may exist in the project (while the DNS record set is only created for the internal Cloud Run that we are trying to connect to).

In my case, I had another Cloud Run service with a public URL in the same project (and network), which was accessed by another VM in the network, but then it started failing because it couldn't resolve the URL anymore after creating the Cloud DNS zone.

Please consider adding a warning or setting --dns-name="$SERVICE_URL_WITHOUT_HTTPS_PREFIX.".

@salvisolamartinell salvisolamartinell changed the title [how-to-access-internal-only-service-while-retaining-internet]: [how-to-access-internal-only-service-while-retaining-internet]: Change that breaks access to different Cloud Run Jun 10, 2024
@salvisolamartinell salvisolamartinell changed the title [how-to-access-internal-only-service-while-retaining-internet]: Change that breaks access to different Cloud Run [how-to-access-internal-only-service-while-retaining-internet]: DNS zone breaks access to different Cloud Run Jun 10, 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

No branches or pull requests

1 participant