Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Allow environment changes to be submitted as change request when approval is required #650

Description

@aureq

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

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:

  1. 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.
  2. All my changes are now lost.

Suggestions

  1. 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.
  2. Upon saving and exiting the command, the user is informed it will be a draft as the environment requires approval.
  3. The command fails because --draft hasn't been provided.

imho, option 1 is best as it gives both visibility and control to the user.

Affected area/feature

  • ESC cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer/feedbackFeedback from customersimpact/usabilitySomething that impacts users' ability to use the product easily and intuitivelykind/enhancementImprovements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions