https://pulumi.com logo
Title
h

helpful-morning-53046

06/17/2021, 10:59 AM
Hello! Not sure of the best place to post this so please advise if there is a better channel. I am importing some manually created AWS resources and the command is successful but the generated pulumi code results in a delete and replace action when running
pulumi preview
. It fails to delete due to deletion protection luckily. I can't seem to find a way around it as the cause is not reported, just a failed message as below.
aws:ec2:LaunchConfiguration (ecs-cluster-test):
    error: Preview failed: refusing to delete protected resource 'urn:pulumi:orchestration-infrastructure::orchestration-infrastructure::aws:ec2/launchConfiguration:LaunchConfiguration::ecs-cluster-test'
Has anyone else come across this before or know how to work around it?
Just saw your announcement from the 15th so have created a new discussion topic in Github - https://github.com/pulumi/pulumi/discussions/7328