Skip to main content

All Questions

1 vote
1 answer
2k views

Understanding target_tags and firewall_networks of the GCP's Load Balancer Terraform module

I'm trying to understand the target_tags and firewall_networks fields of the GoogleCloudPlatform/lb-http/google Terraform module. For the target_tags, the documentation says: "List of target tags ...
SkogensKonung's user avatar
0 votes
2 answers
734 views

Can't set up the GCP's external load balancer to work correctly with Terraform

Using Terraform, I want to build an infrastructure that consists of an external load balancer (LB) and a MIG with 3 VMs. The LB shall be accessible only from my IP (via ports 80 and 22). Each VM ...
SkogensKonung's user avatar
0 votes
1 answer
2k views

terraform gcp lb module throwing "invalid value for field 'resource.pathMatchers[0].defaultService' with basic setup, identical to example in repo

I'm trying to create a https load balancer to serve requests to cloud run services using this module: https://github.com/terraform-google-modules/terraform-google-lb-http/blob/master/examples/cloudrun/...
SebastianG's user avatar
  • 9,654
14 votes
1 answer
4k views

terraform returns 'invalid_grant' for GCP when attempting to create load balancer and I cannot view or edit SA permissions as owner

I have a brand new GCP account that I'm the only owner of, this is a personal/clean brand new project. I manage the infrastructure exclusively with terraform and trying to create a HTTPS load balancer ...
SebastianG's user avatar
  • 9,654
0 votes
1 answer
837 views

What is the default value when max_rate_per_instance attribute is not specified when balancing mode is Utilization?

When using the backend service compute resource and having the balancing mode as Utilization, since the attribute max_rate_per_instance is optional in this case, and if we dont specify it, would GCP ...
gebs's user avatar
  • 95