Skip to content

Commit

Permalink
kubernetes_cluster_resource: oidc_issuer_enabled affects oidc_issuer_…
Browse files Browse the repository at this point in the history
…url (#21911)
  • Loading branch information
fraenkel authored May 30, 2023
1 parent 5dca5a7 commit 5f75cb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/services/containers/kubernetes_cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 5f75cb5

Please sign in to comment.