update images docs on how to use ssm parameters

This commit is contained in:
Bronson Mirafuentes 2022-10-20 09:27:51 -07:00
parent 9d16b9a58f
commit 10d722d87a
1 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,7 @@ You can choose a different image for an instance group by editing it with `kops
* `ami-abcdef` - specifies an AMI by id directly
* `<owner>/<name>` specifies an AMI by its owner's account ID and name properties
* `<alias>/<name>` specifies an AMI by its [owner's alias](#owner-aliases) and name properties
* `ssm:<ssm_parameter>` specifies an AMI through an SSM parameter
Using the AMI id is precise, but ids vary by region. It is often more convenient to use the `<owner/alias>/<name>` if equivalent images with the same name have been copied to other regions.
@ -14,6 +15,7 @@ Using the AMI id is precise, but ids vary by region. It is often more convenient
image: ami-00579fbb15b954340
image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20200423
image: ubuntu/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20200423
image: ssm:/aws/service/canonical/ubuntu/server/20.04/stable/current/amd64/hvm/ebs-gp2/ami-id
```
You can find the name for an image using: