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

Serverless_negs module: once https_redirect is enabled, it can't be disabled #212

Open
ghost opened this issue Oct 14, 2021 · 5 comments
Open
Labels
bug Something isn't working P4 low priority issues triaged Scoped and ready for work

Comments

@ghost
Copy link

ghost commented Oct 14, 2021

Hi!

I am using negs module: GoogleCloudPlatform/lb-http/google//modules/serverless_negs
Once the https redirection is enabled by setting https_redirect = true it cant be disabled later, because of following error:
Error when reading or editing UrlMap: googleapi: Error 400: The url_map resource 'projects/XYZ/global/urlMaps/XYZ-https -redirect' is already being used by 'projects/XYZ/global/targetHttpProxies/XYZ-http-proxy', resourceInUseByAnotherResource

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Dec 13, 2021
@morgante morgante added bug Something isn't working P4 low priority issues triaged Scoped and ready for work and removed Stale labels Dec 13, 2021
@caoilte
Copy link

caoilte commented Jan 7, 2022

You also can't update the managed_ssl_certificate_domains for the same reason.

@z15alall
Copy link

Up same issue here

@Markieta
Copy link

Workaround in the meantime:

Manually delete the -https-redirect entries (one-by-one) in Load balancing then re-run terraform apply to recreate the HTTP frontend configs.

@jmgreger
Copy link

jmgreger commented Oct 2, 2023

+1 on this. Flagging for followup. Also see a similar behavior when re-naming a managed cert domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P4 low priority issues triaged Scoped and ready for work
Projects
None yet
Development

No branches or pull requests

5 participants