https://pulumi.com logo
#general
Title
# general
b

busy-umbrella-36067

11/04/2019, 6:37 PM
Is there any way to not
create/replace
when the resources provider changes? We use the output from an EKS cluster to build a k8s provider, anytime the CloudFormation stack is modified all of the Helm chart resources are slated for deletion.
w

white-balloon-205

11/04/2019, 10:29 PM
@gorgeous-egg-16927 may have a suggestion here?
g

gorgeous-egg-16927

11/04/2019, 10:43 PM
I’m guessing this is another case of https://github.com/pulumi/pulumi/issues/3301 — preview is conservative since we can’t tell for sure what will change if the provider has a computed value. As long as the cluster hasn’t changed, nothing should actually be replaced. Sometimes these types of issues can be resolved by updating in more than one step so that the dependent value is known at preview time.
b

busy-umbrella-36067

11/04/2019, 10:58 PM
that issue looks pretty spot on, the apply ended up not replacing anything too. I do agree with the comments that its unfortunate we can't rely on the
plan/preview
in this case