Skip to content

Instantly share code, notes, and snippets.

@fernandocarletti
Created December 6, 2021 22:09
Show Gist options
  • Save fernandocarletti/586a5b8afe53e174cacdfa3c683467de to your computer and use it in GitHub Desktop.
Save fernandocarletti/586a5b8afe53e174cacdfa3c683467de to your computer and use it in GitHub Desktop.
function pulumi-edit
set -l environment $argv[1]
pulumi -s org/$environment stack export > /tmp/pulumi.json && subl -w /tmp/pulumi.json && pulumi -s org/$environment stack import < /tmp/pulumi.json
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment