Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFT with autoscale fails EIP creation with message "Invalid value 'VPC' for domain." #11

Open
lspells opened this issue Feb 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@lspells
Copy link

lspells commented Feb 22, 2021

Describe the bug

When executing cft with autoscale, cft fails to create EIPs. Error provided is "Invalid value 'VPC' for domain." CFT rolls back.

Expected behavior

EIPs are successfully created.

Current behavior

See above.

Possible solution

Current firewall-new-vpc-v3.0.template contains code similar to the following:

"EIP1" : {
"Type" : "AWS::EC2::EIP",
"Properties" : {
"Domain" : "VPC"
},
"DependsOn": [ "VPC", "GatewayToInternet", "IGW" ]
},

Modify firewall-new-vpc-v3.0.template as follows:

"EIP1" : {
"Type" : "AWS::EC2::EIP",
"Properties" : {
"Domain" : "vpc"
},
"DependsOn": [ "VPC", "GatewayToInternet", "IGW" ]
},

Repeat these modifications for EIP1, EIP2, EIP3 and EIP4 definitions.

Steps to reproduce

Deploy CFT as per instructions. The following will be the result:

EIP1-error

@lspells lspells added the bug Something isn't working label Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant