-
-
Save evandandrea/99cb404122fcc2d22f5fca27d1550cad to your computer and use it in GitHub Desktop.
amazon-ssm-agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: | |
# The agent currently hardcodes paths. Open a PR to make these configurable: | |
# https://github.com/aws/amazon-ssm-agent/blob/master/agent/appconfig/constants_unix.go | |
name: amazon-ssm-agent | |
version: '1.14.0' | |
summary: Agent to enable remote management of your Amazon EC2 instance configuration | |
description: | | |
The SSM Agent runs on EC2 instances and enables you to quickly and easily | |
execute remote commands or scripts against one or more instances. The agent | |
uses SSM documents. When you execute a command, the agent on the instance | |
processes the document and configures the instance as specified. Currently, | |
the SSM Agent and Run Command enable you to quickly run Shell scripts on an | |
instance using the AWS-RunShellScript SSM document. | |
confinement: devmode | |
grade: stable | |
apps: | |
amazon-ssm-agent: | |
command: amazon-ssm-agent | |
parts: | |
ssm-agent: | |
plugin: nil | |
build: | | |
export GOPATH=$(readlink -m ../go) | |
SRC=$GOPATH/src/github.com/aws/amazon-ssm-agent | |
mkdir -p $(dirname $SRC) | |
rsync -az . $SRC | |
cd $SRC | |
make build-linux | |
make prepack-linux | |
mv bin/prepacked/linux_amd64/* $SNAPCRAFT_PART_INSTALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated the version and added the ssm-cli command https://gist.github.com/davdunc/2c6acd35e2818dde544397d6dedfc517