You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. That looks like a good temporary workaround.
Might this also be fixed by a pulumi refresh to get the new default value into your state; at which point you should be able to remove the ignoreChanges after?
I just stumbled over this and checked @danielrbradley 's suggestion right away. Unfortunately the field doesn't seem to get updated when running pulumi refresh and a subsequent pulumi up still marks the cluster to be recreated. The workaround using ignoreChanges does work, though.
Hello!
Issue details
Steps to reproduce
pulumi up
Expected:
There should be no changes
Actual:
Pulumi wants to replace the cluster:
I checked the changes in the Terraform release and
public_network_access_enabled
was added in that version.It has the option ForceNew: true
https://github.com/hashicorp/terraform-provider-azurerm/blob/03210c7fde66e5745bdf80b507f2f4a78c31ede4/internal/services/containers/kubernetes_cluster_resource.go#L663
One workaround I found is using ignoreChanges:
ignoreChanges: ["publicNetworkAccessEnabled"],
The text was updated successfully, but these errors were encountered: