This message was deleted.
# general
s
This message was deleted.
l
Looks like the AWS API does not allow launch_template and either of the other two properties.
You need to remove whichever is not used.
Quite possibly the code-generating feature of import doesn't support the idea of exclusive-or properties.
The docs say that if you use a launch_template with an AMI, then you must not provide an AMI in the instance. Same for instance_type.
Hmm, actually these docs are pretty confusing. I can't tell if it's must or most not. Need more coffee... https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html
m
This instance was not build from a launch_template at all. That's why I don't understand why pulumi thinks that it was
l
Remove the launch_template stuff then. It's causing the problems.
n
Hi @modern-belgium-42936, were you able to solve this problem?
m
Unfortunately not :( @numerous-pharmacist-73685
g
Hi @modern-belgium-42936, I’m seeing the same error for this command, and am unable to proceed. Have you had any success on this yet?