https://pulumi.com logo
#getting-started
Title
# getting-started
i

important-coat-64788

06/07/2022, 8:04 AM
Hello! Just getting started with Pulumi, currently using the Digitalocean provider. I tried to add a tag for a resource in the Cloud UI to see whether Pulumi would roll it back (I don't have that tag in my code). After running
pulumi preview
it doesn't want to change the tags back to the state of my code. Is this possible to configure somehow?
w

witty-candle-66007

06/07/2022, 3:40 PM
pulumi refresh
should see the change and allow you to update the state accordingly such that a subsequent
pulumi up
will remove the tag since it’s not being set in your code. A variation on this is
pulumi up -r
which does the refresh and update in one call.
4 Views