TL;DR
When using the latest version of the module, we get a deprecation warning:
Warning: Deprecated value used
on .terraform/modules/vpc/modules/subnets/outputs.tf line 18, in output "subnets":
18: value = google_compute_subnetwork.subnetwork
The deprecation originates from module.vpc.module.subnets.google_compute_subnetwork.subnetwork["us-central1/stage-dashboard-usc1-sub"].enable_flow_logs
Deprecated resource attribute "enable_flow_logs" used. Refer to the
provider documentation for details.
(and 3 more similar warnings elsewhere)
Expected behavior
Plan completes successfully, no deprecation warning
Observed behavior
Warning: Deprecated value used is emitted
Terraform Configuration
module "vpc" {
source = "terraform-google-modules/network/google"
version = "~> 18.1.0"
...
}
Terraform Version
terraform version
Terraform v1.15.0
on darwin_arm64
Terraform Provider Versions
Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/google] >= 4.25.0
├── provider[registry.terraform.io/hashicorp/google-beta] >= 4.25.0
├── module.peering
│ ├── provider[registry.terraform.io/hashicorp/random] >= 3.4.0
│ ├── provider[registry.terraform.io/hashicorp/null] >= 3.2.0
│ ├── provider[registry.terraform.io/hashicorp/google] >= 4.65.0, < 7.0.0
│ └── provider[registry.terraform.io/hashicorp/google-beta] >= 4.65.0, < 7.0.0
└── module.vpc
├── provider[registry.terraform.io/hashicorp/google] >= 4.64.0, < 8.0.0
├── provider[registry.terraform.io/hashicorp/google-beta] >= 4.64.0, < 8.0.0
├── module.routes
└── provider[registry.terraform.io/hashicorp/google] >= 3.83.0, < 8.0.0
├── module.vpc
├── provider[registry.terraform.io/hashicorp/google-beta] >= 6.19.0, < 8.0.0
└── provider[registry.terraform.io/hashicorp/google] >= 6.19.0, < 8.0.0
├── module.firewall_rules
└── provider[registry.terraform.io/hashicorp/google] >= 3.33.0, < 8.0.0
├── module.subnets
└── provider[registry.terraform.io/hashicorp/google] >= 6.28.0, < 8.0.0
└── module.private_service_access
├── provider[registry.terraform.io/hashicorp/google-beta] >= 6.18.0, < 8.0.0
└── provider[registry.terraform.io/hashicorp/google] >= 6.18.0, < 8.0.0
Additional information
No response
TL;DR
When using the latest version of the module, we get a deprecation warning:
Expected behavior
Plan completes successfully, no deprecation warning
Observed behavior
Warning: Deprecated value usedis emittedTerraform Configuration
Terraform Version
Terraform Provider Versions
Additional information
No response