gentle-rocket-9733011/01/2021, 9:10 PM
and during the preview stage I get the error message “error: Preview failed: unable to delete resource... ...as it is currently marked for protection. To unprotect the resource, either remove the
flag from the resource in your Pulumi program and run
or...“. I don’t want to delete it; I want to adopt it. Can anyone help me understand why preview seems to be trying to delete a protected/imported resource?
witty-candle-6600711/01/2021, 9:36 PM
includes a resource option with
is trying to delete the bucket for some reason - I wonder if it’s actually trying to replace it (which includes a delete operation). If you do
what does it show for the bucket?
pulumi preview --diff
gentle-rocket-9733011/01/2021, 11:25 PM
, it returns “us=east-1”
pulumi config get aws:region
witty-candle-6600711/02/2021, 3:02 PM
gentle-rocket-9733011/02/2021, 3:48 PM
witty-candle-6600711/02/2021, 4:01 PM
gentle-rocket-9733011/02/2021, 4:17 PM
> pulumi preview --diff
Previewing update (dev)
View Live: https://app.pulumi.com/patrickburrell/...
error: missing required property ‘region’
witty-candle-6600711/02/2021, 4:26 PM
pulumi config set aws-native:region us-east-1
gentle-rocket-9733011/02/2021, 5:52 PM