How do I remove a resource from pulumi config with...
# general
m
How do I remove a resource from pulumi config without triggering a change in AWS? Basically I need to “untrack” a resource. We have an S3 BucketNotification in our pulumi. If I delete it and
pulumi up
, then pulumi will delete that value from AWS. But I need the notification value to stick around, and have pulumi forget it was ever managing it.
b
@many-spring-73557 you can just remove it from the state
pulumi state delete
m
ah, awesome, thanks!
e
Also there's retain on delete resource option: https://www.pulumi.com/blog/retainondelete/