https://pulumi.com logo
Title
b

breezy-butcher-78604

06/03/2021, 5:37 AM
is there a way to force Pulumi to replace a resource if certain properties change? i have an S3 delivery firehose that i want to ensure gets replaced (rather than updated) if the bucket configuration changes
b

billowy-army-68599

06/03/2021, 5:44 AM
If you look at the issue, you can change the physical name of the resource, if that helps somehow
b

breezy-butcher-78604

06/03/2021, 5:48 AM
yeah somehow keying the resource name off the bucket config was the only thing i could think of. thanks for clarifying. is there anything else I can do to help that issue along other than +1ing that github issue? would outlining my specific use case be useful at all?
b

billowy-army-68599

06/03/2021, 5:50 AM
that would be super helpful, thank yiu!
b

breezy-butcher-78604

06/03/2021, 5:57 AM
added a comment. thanks for your time 👌
n

nice-postman-4638

06/22/2021, 8:45 AM
In the meantime, if you know the Pulumi URN of the resource when you run
pulumi up
then you could manually replace it with
pulumi up --replace <urn>
. When you run
pulumi up
normally the preview will tell you that this resource will be updated, so you can spot it at that point and re-run with the
--replace
.