1. Docs
  2. Pulumi ESC CLI
  3. Commands
  4. esc env set

esc env set

    Set a value within an environment.

    Synopsis

    Set a value within an environment

    This command fetches the current definition for the named environment and modifies a value within it. The path to the value to set is a Pulumi property path. The value is interpreted as YAML.

    esc env set [<org-name>/]<environment-name> <path> <value> [flags]
    

    Options

      -h, --help        help for set
          --plaintext   true to leave the value in plaintext
          --secret      true to mark the value as secret
    

    Options inherited from parent commands

          --env string   The name of the environment to operate on.
    

    SEE ALSO

    Auto generated by spf13/cobra on 14-Mar-2024
      Introducing Drift Detection, TTL Stacks, and Scheduled Deployments. Learn More.