aws-autoscaling-gitlab-runner icon indicating copy to clipboard operation
aws-autoscaling-gitlab-runner copied to clipboard

Use AMI from mappings

Open fquffio opened this issue 5 years ago • 1 comments

This PR removes the CloudFormation parameter that forced you to specify an AMI ID for manager instance.

Latest AMIs for AWS regions are obtained with make list-latest-amis and are present in the template as a Mapping. The AMI is then selected automatically by CloudFormation based on the AWS Region the stack is launched in.

This resolves #6.

fquffio avatar Mar 21 '19 11:03 fquffio

This PR removes the CloudFormation parameter that forced you to specify an AMI ID for manager instance.

Latest AMIs for AWS regions are obtained with make list-latest-amis and are present in the template as a Mapping. The AMI is then selected automatically by CloudFormation based on the AWS Region the stack is launched in.

This resolves #6.

We still need the parameter ** ManagerImageId** for our custom patched AMI amzn2 😞 Is there a possibility for a condition, to mix in the mapping, if an image id is not given?

pflorek avatar Dec 05 '19 20:12 pflorek