pulumi-command
pulumi-command copied to clipboard
Make it easier to run multiline script
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
Please make it easier to run multiline scripts that are declared in a string variable. Currently, we need to do something like this:
create: "PULUMI_COMMAND_STDOUT=true sh -c '`echo \"${script}\" > ~/script.sh && chmod u+x ~/script.sh && ~/script.sh'"