hey :wave: I just started experimenting with Pulu...
# general
e
hey 👋 I just started experimenting with Pulumi and some GCP Artifact registries, I added a Cleanup policy and that got applied to the 2 new Registries. I was doing some experimentation manually, applied the Dry Run, and removed one of the cleanup policies when I ran
pulumi up
, the cleanup policy for that registry is not getting updated. Any idea how to solve this? Is this an expected behavior (I change something manually and Pulumi doesn't revert it back on the next
pulumi up
)?
I found a Reddit question, I need to use
pulumi refresh
or set
options refresh always
in the pulumi.yaml file
l
Yes. Pulumi is essentially write-only as far as the cloud resources are concerned; making manual changes to Pulumi-managed resources breaks this. You need to force a read from the cloud to get things synced up again.