1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. OperationContext

OperationContext

    OperationContext describes what to do.

    Properties

    • OIDC contains the OIDC configuration for the operation.
    • AWS contains AWS-specific configuration.
    • Azure contains Azure-specific configuration.
    • GCP contains GCP-specific configuration.
    • preRunCommands array[string] optional
      PreRunCommands is an optional list of arbitrary commands to run before Pulumi is invoked. ref: https://github.com/pulumi/pulumi/issues/9397
    • operation enum optional
      The Pulumi operation to perform (e.g. update, preview, refresh, destroy).
      Values: update, preview, destroy, refresh, detect-drift, remediate-drift
    • environmentVariables map[string]SecretValue optional
      EnvironmentVariables contains environment variables to be applied during the execution.
    • options OperationContextOptions optional
      Options is a bag of settings to specify or override default behavior
    • skipInstallDependencies boolean optional
      SkipInstallDependencies sets whether to skip the default dependency installation step. Defaults to false.
    • skipIntermediateDeployments boolean optional
      SkipIntermediateDeployments sets whether to skip queued intermediate deployments. Defaults to false.
    • shell string optional
      Shell indicates the shell to use when running commands.
    • deleteAfterDestroy boolean optional
      DeleteAfterDestroy sets whether the stack should be deleted after it is destroyed.
    • remediateIfDriftDetected boolean optional
      RemediateIfDriftDetected sets whether a detect-drift operation should be followed by remediate-drift step if drift is detected.
    • role DeploymentRole optional
      Role defines the deployment role to assume for the operation.
    • id string required
      The unique identifier of the deployment role.
    • name string optional
      The name of the deployment role.
    • defaultIdentifier string optional
      The default identifier associated with this role.