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
demandé il y a 6 mois239 vues
1 réponse
0

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

profile pictureAWS
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions