Skip to content

gcfs_config variable forces replacement #2048

@dominykasn

Description

@dominykasn

TL;DR

gcfs_config variable forces replacement to node pools when importing

Expected behavior

Importing without issues when gcfs is disabled in GUI and in gcloud CLI

Observed behavior

When importing plan shows forced replacement to node pool, image streaming is disabled in GCP GUI and in gcloud CLI

- gcfs_config { # forces replacement
              - enabled = false -> null
            }

Terraform Configuration

module "gke" {
  source  = "terraform-google-modules/kubernetes-engine/google//modules/private-cluster"
  version = "~> 32.0.0"

  ....
  node_pools = [
    {
      name = "n2d-c8-m32"
      image_type = "COS_CONTAINERD"
      enable_secure_boot = true
      enable_gcfs = false
    },

Terraform Version

Terraform v1.8.4

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions