Fetch the latest RHEL9 AMI via Parameter Store

0

Hi,

Is there a way to get the latest RHEL9 AMI via Parameter Store like we do for Linux:

Parameters:
  LatestAmiId:
    Type: 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>'
    Default: '/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2'

I can't find anywhere that it's possible.

BR, M.

1개 답변
1
수락된 답변

Hello.

As far as I can see in the document below, there is no global parameter to get the RHEL9 AMI.
https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-finding-public-parameters.html

profile picture
전문가
답변함 7달 전
profile pictureAWS
전문가
검토됨 7달 전
  • When I executed the command below, I found something called "/aws/service/list/redhat", so maybe I can find it if I look for it.

    aws ssm describe-parameters --parameter-filters "Key=Name, Option=BeginsWith, Values=/aws/service/list" --query Parameters[].Name |sort
    
  • I looked for it from the management console, but couldn't find it. r
    I also tried executing the command below, but the parameter was not found, so it seems that it cannot be used with SSM's global parameters.

    aws ssm get-parameters-by-path --recursive --path /aws/service/redhat/
    {
        "Parameters": []
    }
    
  • Thank you for confirmation.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠