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

When configuring a cross-project backend service for a load balancer, the backend service refers host project. #18060

Open
sakai-hayato1 opened this issue May 9, 2024 · 0 comments
Labels

Comments

@sakai-hayato1
Copy link

Question

Question

Hello, I created a load balancer and its url path map in the Host Project and referenced a backend service from the Service Project using a cross-project reference.

I was able to import the existing configuration, but when I tried to add additional configurations and apply them, the backend service was looking for resources in the Host Project instead of the Service Project.
How does the backend service determine which project to reference?

Version info

Terraform: v1.7.0
hashicorp/google: v5.25.0
hashicorp/google-beta: v5.25.0

Error Message

│ Error: Error updating UrlMap "projects/host-project/global/urlMaps/host-project-alb": googleapi: Error 404: The resource 'projects/host-project/global/backendServices/service-project-backend-service' was not found, notFound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant