GoogleCloudPlatform / terraform-example-foundation-app

https://registry.terraform.io/modules/GoogleCloudPlatform/terraform-example-foundation-app/google
Apache License 2.0
33 stars 36 forks source link

Network info in the tfvars file point to development network in non-production and production envs #80

Closed daniel-cit closed 3 years ago

daniel-cit commented 3 years ago

Expected Behavior

The network info provided in the foundation-extension/4-projects step for the environments non-production and production should point to the info for their environments.

Actual Behavior

The network name in the non-production and production point to the info of the development network

Non-production

https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/blob/ce4599359153f980ec7f9f7b8e52f949b4ef5130/foundation-extension/4-projects/business_unit_1/non-production/non-production.auto.example.tfvars#L23-L24

In this case the environment code should be n instead of d

Production

https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/blob/ce4599359153f980ec7f9f7b8e52f949b4ef5130/foundation-extension/4-projects/business_unit_1/production/production.auto.example.tfvars#L23-L24

In this case the environment code should be p instead of d

Steps to Reproduce the Problem

  1. deploy foundation-app up to step 4-projects

Specifications