Hi everyone, I have one question. We are migrating...
# getting-started
k
Hi everyone, I have one question. We are migrating EC2 Instances with Golang. But when EC2 Instance has problem, we want to recreate EC2 for same option and setting. That mean is one pulumi up -> Delete job and Create job Is it possible to recreate?
m
To me this sounds like a job for an EC2 Auto Scaling Group with a fixed size: You define an instance template and the ASG takes care of launching a new EC2 instance if an existing EC2 instance becomes unhealthy. Have you explored this option? (Of course, you can create and update the ASG with Pulumi.)
i
You could try the
pulumi up --replace urn:pulumi:stack::project::resourceType::resourceName
command (replace the placeholder with your URN)
k
Thank you all. I'll try up command with
--replace
parameter :)
👍 1