f5-automation-labs icon indicating copy to clipboard operation
f5-automation-labs copied to clipboard

Cloudformation Stack creation failed

Open aheilmaier opened this issue 7 years ago • 5 comments

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 avatar Jan 04 '18 19:01 aheilmaier

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 avatar Jan 05 '18 13:01 aheilmaier

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

caphrim007 avatar Jan 05 '18 15:01 caphrim007

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.

0xHiteshPatel avatar Jan 05 '18 15:01 0xHiteshPatel

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

aheilmaier avatar Jan 05 '18 15:01 aheilmaier

Hoping for an update on this?

howsTricks avatar Oct 24 '19 12:10 howsTricks