Created
July 1, 2020 22:31
-
-
Save libert-xyz/50e6a29ed165ad9d699b3868bd1a779a to your computer and use it in GitHub Desktop.
Get the lastest Amazon Linux 2 AMI from SSM Parameter Store using AWS CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
aws ssm get-parameters --names /aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2 --region us-east-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment