Skip to content

[FR] Add support for cross project NEGs in net-lb-app-int module #3285

@avh01

Description

@avh01

Affected components

  • Fabric modules
  • FAST
  • Blueprints
  • Other

The problem

The resource google_compute_region_network_endpoint_group references var.project_id and it does not allow for the NEG to be created in a separate project. This issue and fix are very similar with ##3215 and is for the net-lb-app-int module instead. I can submit a merge request.

Release version

b5cc01c

Terraform version

Terraform v1.11

Steps to reproduce

Create an Internal App Load Balancer in one project and the NEG in a VPC that exists on a different project.

Expected behavior

I would expect the NEG to accept a different project ID.

Actual behavior

Terraform apply fails because it cannot find the VPC in the project where the LB is created since is on a different project.

Additional context

The fix:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions