aws / aws/amazon-ssm-agent

Cloud formation ssm distributor package issue

Open
#363 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Hi, i am trying to install a distributor package by having inside a CF template. While the RUN job is triggering, seeing below errors in RUN command output

```
Log:
Initiating dd_agent_linux_7 7.0.0 install

Plugin aws:runShellScript ResultStatus Failed

install output: Running sh install.sh

is not number. Use a numeric value for this tag

```

resources from CF:
https://www.codepile.net/pile/7AD7GqEn

```
SSMDocument:
Type: AWS::SSM::Document
Properties:
DocumentType: Command
Content:
schemaVersion: '2.2'
description: "dd install Document"
mainSteps:
- action: aws:configurePackage
name: configurePackage
inputs:
name: dd_agent_linux_7
action: Install
additionalArguments:
SSM_API_KEY: "dummyapitoken"
SSM_ENV: "lab"
SSM_SERVICE_NAME: "testingAgentService"
SSM_TIER: "4"
SSM_APM_ENABLED: "true"
SSM_VARIANT: "blank"
```

->seems like parameters were not getting passed
->why Plugin aws:runShellScript ResultStatus Failed happening ?

Contributor guide

Open the contributing guide

Research direction

Start with the supplied CloudFormation SSMDocument and the aws:configurePackage step, then compare its additionalArguments with the aws:runShellScript failure output. Reproduce the distributor package installation and trace why the parameters are not accepted; done means the failure cause and a verified correction are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.