-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
bugSomething isn't workingSomething isn't working
Description
TL;DR
When use_private_endpoint is set to true, auth module will fail to plan.
Expected behavior
use_private_endpoint to work.
Observed behavior
On a terraform plan:
module.target_repo.module.kubernetes-engine_auth.data.google_client_config.provider: Refreshing state...
module.target_repo.module.kubernetes-engine_auth.data.google_container_cluster.gke_cluster: Refreshing state...
Error: Invalid address to set: []string{"addons_config", "0", "config_connector_config"}
on .terraform/modules/target_repo.kubernetes-engine_auth/modules/auth/main.tf line 26, in data "google_container_cluster" "gke_cluster":
26: data "google_container_cluster" "gke_cluster" {
Terraform Configuration
module "kubernetes-engine_auth" {
source = "terraform-google-modules/kubernetes-engine/google//modules/auth"
version = "24.1.0"
cluster_name = var.cluster_name
location = var.regionality
project_id = local.project_id
use_private_endpoint = true
}Terraform Version
https://github.com/hashicorp/terraform-provider-google/releases/tag/v4.49.0
Additional information
Looks like the GA provider just released a new datasource.
RomeroGaliza, paulojmdias, NeckBeardPrince, rudism, tunguyen9889 and 3 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working