code-dumps/aws-ssm/ssm-test.yaml

16 lines
276 B
YAML
Raw Normal View History

2024-10-24 23:09:21 +08:00
---
schemaVersion: "2.2"
description: "SSM runCommand test"
mainSteps:
- action: "aws:runShellScript"
name: "Test"
inputs:
runCommand:
-
#!/usr/bin/env bash
/bin/touch /tmp/ssm-test
precondition:
StringEquals:
- "platformType"
- "Linux"