This message was deleted.
# general
s
This message was deleted.
i
do you happen to be doing something like enabling hibernation support on an instance type that doesn’t support it?
q
I don’t think so! I’m using code that I’ve used elsewhere for spinning up instances. Just assigning security groups, subnet, ami, instance type, key, and disk space
g
Generally this is due to incompatible inputs such as specifying an AMI that is paravirtualized on an instance type that requires HVM or an instance type that requires VPC in EC2-classic.
You might get more information from the error with the
--debug
flag. If not, if you can share your
preview --diff
we can try to figure it out with you.
q
ok
@gentle-diamond-70147 yea looks like something changed with the AMIs. I was dynamically fetching the most recent debian one. I went back to the AMI used by the latest EC2 instance I created and it worked fine. Not sure what I need to adjust here but at least it worked sort of
g
You might need to provide an additional filter as shown at https://www.pulumi.com/docs/reference/pkg/aws/getami/#example-usage.