Skip to content

Commit

Permalink
Make move from subnet to no subnet impossible
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris van Ommeren committed Dec 15, 2022
1 parent 9410e11 commit e57c382
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/services/containers/kubernetes_cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func resourceKubernetesCluster() *pluginsdk.Resource {
pluginsdk.ForceNewIfChange("windows_profile.0.gmsa.0.root_domain", func(ctx context.Context, old, new, meta interface{}) bool {
return old != "" && new == ""
}),
pluginsdk.ForceNewIfChange("api_server_subnet_id", func(ctx context.Context, old, new, meta interface{}) bool {
return old != "" && new == ""
}),
),

Timeouts: &pluginsdk.ResourceTimeout{
Expand Down

0 comments on commit e57c382

Please sign in to comment.