Is there any way to not `create/replace` when the ...
# general
b
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
@gorgeous-egg-16927 may have a suggestion here?
g
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
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