Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make datapath_provider ForceNew #12887

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/6657.txt
@@ -0,0 +1,3 @@
```release-note:bug
container: fixed unable to update `datapath_provider` on `google_container_cluster` so that modifying the `datapath_provider` field will recreating the resource now
```
1 change: 1 addition & 0 deletions google/resource_container_cluster.go
Expand Up @@ -1206,6 +1206,7 @@ func resourceContainerCluster() *schema.Resource {
"datapath_provider": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Computed: true,
Description: `The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.`,
ValidateFunc: validation.StringInSlice([]string{"DATAPATH_PROVIDER_UNSPECIFIED", "LEGACY_DATAPATH", "ADVANCED_DATAPATH"}, false),
Expand Down