Skip to content

Pass top-level region through NetworkLoadBalancer child resources and lookups #1941

Description

@corymhall

Parent: #1933

awsx:lb:NetworkLoadBalancer exposes a top-level region input, but the implementation does not consistently thread that region through child resources and region-sensitive lookups/defaults.

Known child/defaulted paths to audit:

  • subnet lookups
  • default VPC lookup path
  • root aws.lb.LoadBalancer resource
  • default target group
  • listeners

Implementation references:

  • awsx/schema-types.ts (NetworkLoadBalancerArgs.region)
  • awsx/lb/networkLoadBalancer.ts
  • awsx/ec2/getDefaultVpc.ts

Acceptance criteria:

  • top-level region is passed to all NLB child AWS resources that support it
  • region-aware lookups/defaults used by NLB receive the top-level region when present
  • targeted tests cover the changed behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSome behavior is incorrect or out of spec

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions