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

Databases are created with a different user and password from the configuration for bank of Anthos #57

Closed daniel-cit closed 3 years ago

daniel-cit commented 3 years ago

Expected Behavior

When the databases are created they have a user admin as configured in the GKE configuration files like

https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/blob/5b02673ce839e2ec0f35b2039f57d365e3fbcab9/6-anthos-install/acm-repos/root-config-repo/namespaces/boa/accounts/accounts-db-config.yaml#L23

and

https://github.com/GoogleCloudPlatform/terraform-example-foundation-app/blob/5b02673ce839e2ec0f35b2039f57d365e3fbcab9/6-anthos-install/acm-repos/root-config-repo/namespaces/boa/transactions/ledger-db-config.yaml#L27

Actual Behavior

A user named testuser is created using default values from inputs from a module in which this variables are not exposed to the top level tfvars file.

Steps to Reproduce the Problem

  1. deploy step 5-infrastructure

Specifications