diff --git a/internal/services/containers/kubernetes_cluster_resource.go b/internal/services/containers/kubernetes_cluster_resource.go index 98af37b6f1a3..3c2850b619ad 100644 --- a/internal/services/containers/kubernetes_cluster_resource.go +++ b/internal/services/containers/kubernetes_cluster_resource.go @@ -84,6 +84,12 @@ func resourceKubernetesCluster() *pluginsdk.Resource { } return true }), + func(ctx context.Context, d *schema.ResourceDiff, meta interface{}) error { + if d.HasChange("oidc_issuer_enabled") { + d.SetNewComputed("oidc_issuer_url") + } + return nil + }, ), Timeouts: &pluginsdk.ResourceTimeout{