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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则