Environments

CheckYAML

Checks a raw YAML environment definition for errors without creating or modifying any environment. The YAML definition is provided in the request body and validated for correctness, including imports, provider configurations, function invocations, and interpolation expressions. When the showSecrets query parameter is set to true, secret values are returned in plaintext in the response. This is useful for validating environment definitions before applying them.

post/api/esc/environments/{orgName}/yaml/check

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/esc/environments/{orgName}/yaml/check
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

showSecretsboolean

Whether to show secret values in plaintext

Response

OK

exprsobject

Exprs contains the AST for each expression in the environment definition.

propertiesobject

Properties contains the detailed values produced by the environment.

Changes

No recorded changes to this operation across all 1 revision of this API.