pulumi-command icon indicating copy to clipboard operation
pulumi-command copied to clipboard

Make it easier to run multiline script

Open cowwoc opened this issue 11 months ago • 3 comments

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'"

cowwoc avatar Nov 14 '24 13:11 cowwoc