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
When using --draft/--draft=new to create a new draft change request, the created ID is printed in the format Change request created: <id>, this is not very amenable to grabbing the ID via output redirection to later use it to submit further updates to the draft, e.g.
CHANGE_REQUEST_ID=$(pulumi env set --draft foo bar qux)
pulumi env set --draft=$CHANGE_REQUEST_ID foo bar2 qux2)
# And then this part seems missing from the CLI: pulumi env approve $CHANGE_REQUEST_ID
Affected area/feature
Pulumi ESC CLI