-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
TL;DR
Doing a terraform plan
on my imported cluster shows it wants to remove my additional_ip_ranges_config block. My existing cluster has pod_ipv4_range_names defined. See below screen cap of terraform plan output.
I do not see any way that the module accepts input to control the pod_ipv4_range_names. This setting is supported by the google_container_cluster resource: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#pod_ipv4_range_names-1

Please let me know any additional information required.
Expected behavior
Should be able to specify pod_ipv4_range_names
Observed behavior
Terraform wants to remove the additional_ip_ranges_config block
Terraform Configuration
not applicable
Terraform Version
Terraform v1.13.0
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v7.1.1
+ provider registry.terraform.io/hashicorp/kubernetes v2.38.0
+ provider registry.terraform.io/hashicorp/random v3.7.2
Your version of Terraform is out of date! The latest version
is 1.13.1. You can update by downloading from https://developer.hashicorp.com/terraform/install
Terraform Provider Versions
Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/google] >= 6.28.0
└── module.kubernetes-engine
├── provider[registry.terraform.io/hashicorp/kubernetes] ~> 2.10
├── provider[registry.terraform.io/hashicorp/random] >= 2.1.0
└── provider[registry.terraform.io/hashicorp/google] >= 6.42.0, < 8.0.0
Providers required by state:
provider[registry.terraform.io/hashicorp/google]
Additional information
Interestingly when I use version 36.1.0 of the GKE module and version 6.28.0 of the hashicorp/google provider the terraform plan
command does NOT try to remove the additional_ip_ranges_config block