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

Cloudformation Stack creation failed #154

Open
aheilmaier opened this issue Jan 4, 2018 · 5 comments
Open

Cloudformation Stack creation failed #154

aheilmaier opened this issue Jan 4, 2018 · 5 comments
Assignees

Comments

@aheilmaier
Copy link

I tried to deploy the cloudformation template (CFT)
https://s3.us-east-2.amazonaws.com/supernetops-cf-templates/class1.template
This template calls:
https://s3.us-east-2.amazonaws.com/supernetops-cf-templates/snops_jumphost.template https://s3.us-east-2.amazonaws.com/supernetops-cf-templates/snops_server.template
seems that the ami image-ids are not available anymore.
e.g. in use-east-1 ami-b391b9c8 is not available anymore.
Not sure how to update the template.

@aheilmaier
Copy link
Author

tried to build my own mappings but I can't figure out which image-id's to use.
@0xHiteshPatel or @caphrim007 could you please provide some more information on the image-id's to use ?

just tried some aws cli with bash. But without the correct filter ...

ec2_regions=`aws ec2 describe-regions --query Regions[*].RegionName | jq -c .`
ec2_images="aws ec2 describe-images \
--filters Name=description,Values=Canonical*16.04*2017-12* Name=state,Values=available \
          Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-* \
--query Images[*].{HVM:ImageId,Name:Name,Note:Description}"

for i in $(echo $ec2_regions | jq -r '.[]');
do
    echo region: $i
    echo `$ec2_images --region $i`
done

@aheilmaier aheilmaier changed the title Cloudformation creation failed Cloudformation Stack creation failed Jan 5, 2018
@caphrim007
Copy link

this source code is not familiar to me, so @0xHiteshPatel would need to answer.

@0xHiteshPatel 0xHiteshPatel self-assigned this Jan 5, 2018
@0xHiteshPatel
Copy link
Collaborator

This template is still a WIP, however, i'm not sure why you're seeing issues with the AMI's. I'll take a look once I have some cycles.

@aheilmaier
Copy link
Author

thanks, @0xHiteshPatel, I also submitted #156
seems the aws lab environment is not ready now.

@howsTricks
Copy link

Hoping for an update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants