Skip to content

Commit

Permalink
Add keeper for gcfs_enabled node pool option for update variants
Browse files Browse the repository at this point in the history
As changing the `gcfs_config` block currently forces a replacement of
the node pool, see:
https://github.com/hashicorp/terraform-provider-google/blob/5290a9f74d491bd3a05c32cdc60773ac6c53d4ae/google/node_config.go#L119

Fixes #1217
  • Loading branch information
lauraseidler committed Apr 12, 2022
1 parent 81d3fa1 commit 28269e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions autogen/main/cluster.tf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ locals {
"spot",
{% endif %}
"service_account",
"gcfs_enabled",
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/beta-private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ locals {
"preemptible",
"spot",
"service_account",
"gcfs_enabled",
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/beta-public-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ locals {
"preemptible",
"spot",
"service_account",
"gcfs_enabled",
]
}

Expand Down
1 change: 1 addition & 0 deletions modules/private-cluster-update-variant/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ locals {
"min_cpu_platform",
"preemptible",
"service_account",
"gcfs_enabled",
]
}

Expand Down

0 comments on commit 28269e8

Please sign in to comment.