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
gefragt vor 6 Monaten239 Aufrufe
1 Antwort
0

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

profile pictureAWS
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen