Sha256: c6604c3c961a0f9081835e4fbd535fab127ac0b26c8306c500c616c813f3d423
Contents?: true
Size: 944 Bytes
Versions: 5
Compression:
Stored size: 944 Bytes
Contents
#! /usr/bin/env ruby template "runShellScriptTemplate" do content do __dsl do schemaVersion "2.0" description "Run a shell script" mainSteps do |*| action "aws:runShellScript" name "runShellScript" inputs do runCommand __script(context.commands) TimeoutSeconds 10 end end end end end Command "My-RunShellScript" do account_ids [] include_template "runShellScriptTemplate", commands: "echo 1 >> /tmp/result.txt" end Command "My-RunShellScript-2" do account_ids [] content do __dsl do schemaVersion "2.0" description "Run a shell script" mainSteps do |*| action "aws:runShellScript" name "runShellScript" inputs do runCommand __script(<<-'EOS') #! /bin/bash echo 1 >> /tmp/results.txt echo 2 >> /tmp/results.txt exit 1 EOS TimeoutSeconds 10 end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rezept-0.4.0 | Docfile |
rezept-0.3.1 | Docfile |
rezept-0.3.0 | Docfile |
rezept-0.2.0 | Docfile |
rezept-0.1.0 | Docfile |