I attempted to created the sample stack from the console with mostly default values where possible. The stack fails when attempting to create the EIP with the following error:
17:28:09 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP3 | Invalid value 'VPC' for domain.
17:28:09 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP2 | Invalid value 'VPC' for domain.
17:28:08 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP1 | Invalid value 'VPC' for domain.
I know it's not the number of EIP as I have 10 allocated to us-east-1 and currently have 0 in use.
To be clear, this is with 3 AZs and with the NAT gateway = YES.
I fixed this by changed the following for all the EIPS
"EIP1" : {
"Type" : "AWS::EC2::EIP",
"Condition" : "NATGatewayRequired",
"Properties" : {
"Domain" : "vpc" <-------- changed from VPC to vpc (case sensitive)
I attempted to created the sample stack from the console with mostly default values where possible. The stack fails when attempting to create the EIP with the following error:
17:28:09 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP3 | Invalid value 'VPC' for domain. 17:28:09 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP2 | Invalid value 'VPC' for domain. 17:28:08 UTC-0400 | CREATE_FAILED | AWS::EC2::EIP | EIP1 | Invalid value 'VPC' for domain.
I know it's not the number of EIP as I have 10 allocated to us-east-1 and currently have 0 in use.
To be clear, this is with 3 AZs and with the NAT gateway = YES.