terraform-google-modules / terraform-google-lb-http

Creates a global HTTP load balancer for Compute Engine by using forwarding rules
https://registry.terraform.io/modules/terraform-google-modules/lb-http/google
Apache License 2.0
319 stars 366 forks source link

How do I use reserved IP addresses? #449

Closed red8888 closed 2 weeks ago

red8888 commented 2 months ago

TL;DR

I'm really confused about this, the "address" field is totally ignored.

How do I use an existing google_compute_global_address?

Is this not supported? If so I'd like to make a feature request.

Even when I add the address param it still creates its own "google_compute_global_address" "default" resource.

Terraform Resources

Using sub module "GoogleCloudPlatform/lb-http/google//modules/serverless_negs"

See example usage, I just want to add a reserved IP to this: https://registry.terraform.io/modules/GoogleCloudPlatform/lb-http/google/latest/submodules/serverless_negs#usage

Detailed design

No response

Additional information

No response

red8888 commented 2 months ago

OK I think maybe this is just a doc update thats needed

I had to set create_address = false, but that took a little digging to even see that was a param.

In the docs the address field should include a disclaimer "Will be ignored if create_address is not set to false" or something

github-actions[bot] commented 3 weeks ago

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