You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
I'm an ESC user and I have an ESC environment that requires approval. I use the ESC cli to edit my environment.
esc env edit menfin-demo/sandbox/require-approval
However, upon saving and exiting the command:
I get the error message Error: updating environment definition: [409] This environment requires updates to be approved via change request. Please use the draft endpoint instead.
All my changes are now lost.
Suggestions
When starting to edit the environment, it would be great to warn the customer their changes will be saved as a draft; and even better, let them create a new draft or pick an existing one.
Upon saving and exiting the command, the user is informed it will be a draft as the environment requires approval.
The command fails because --draft hasn't been provided.
imho, option 1 is best as it gives both visibility and control to the user.
Hello!
Issue details
I'm an ESC user and I have an ESC environment that requires approval. I use the ESC cli to edit my environment.
However, upon saving and exiting the command:
Error: updating environment definition: [409] This environment requires updates to be approved via change request. Please use the draft endpoint instead.Suggestions
--drafthasn't been provided.imho, option 1 is best as it gives both visibility and control to the user.
Affected area/feature