Create SSM Association with CloudFormation

0
AWSTemplateFormatVersion: "2010-09-09"
Description: Testing agent install association
Resources:
  AgentInstallAssociation:
    Type: AWS::SSM::Association
    Properties:
      # Specify document to use
      Name: AWS-ConfigureAWSPackage
      Targets:
        - Key: InstanceIds
          Values: 
          - [instance id]
      Parameters:
        # Install AgentInstall Package
        Action:
          - Install
        Installation_Type:
          - Uninstall and reinstall
        Name:
          - AgentInstall #Package name`

I am trying to create this association with a cloudformation stack. I am getting the error there is no parameter 'action' in the document. I can't find any documentation that will help in this use case.

rpope
質問済み 6ヶ月前239ビュー
1回答
0

To install the SSM Agent package via CloudFormation, you need to use the AWS-InstallSsmAgent document instead

profile pictureAWS
回答済み 6ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ