I have seem the following error during stack creation in number of AWS provided CloudFormation script. Any idea why its generating VPC error?
Error message:
CREATE_FAILED AWS::EC2::Instance WindowsServer No subnets found for the default VPC 'vpc-aaaaaaa'. Please specify a subnet.
Here is the template: https://s3.amazonaws.com/cloudformation-templates-us-east-1/Windows_Roles_And_Features.template
I was facing the same problem and the below steps helped me.
aws ec2 create-default-subnet --availability-zone us-east-2a
For details please visit this documentation page by Amazon
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With