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

Error during setting up foundation extension #100

Closed gcp-innovate closed 1 year ago

gcp-innovate commented 1 year ago

Expected Behavior

foundation-extension should be added on top of the 3-network-hub-and-spoke.

Actual Behavior

It fails * TERRAFORM PLAN ***** At environment: envs/development


Warning: Value for undeclared variable

The root module does not declare a variable named "optional_fw_rules_enabled" but a value was found in file "boa_settings.auto.tfvars". To use this value, add a "variable" block to the configuration.

Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TFVAR... environment variables to set these instead.

Warning: Value for undeclared variable

The root module does not declare a variable named "nat_enabled" but a value was found in file "boa_settings.auto.tfvars". To use this value, add a "variable" block to the configuration.

Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TFVAR... environment variables to set these instead.

Warning: Value for undeclared variable

The root module does not declare a variable named "enable_hub_and_spoke" but a value was found in file "boa_settings.auto.tfvars". To use this value, add a "variable" block to the configuration.

Using a variables file to set an undeclared variable is deprecated and will become an error in a future release. If you wish to provide certain "global" settings to all configurations in your organization, use TFVAR... environment variables to set these instead.

Warning: Values for undeclared variables

In addition to the other similar warnings shown, 3 other variable(s) defined without being declared.

Error: Unsupported argument

on boa_vpc_fw.tf line 36, in module "base_shared_vpc": 36: optional_fw_rules_enabled = var.optional_fw_rules_enabled

An argument named "optional_fw_rules_enabled" is not expected here.

Specifications

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days