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

AppUpdateInfo

    UpdateInfo describes a previous update. Should generally mirror backend.UpdateInfo, but we clone it in this package to add flexibility in case there is a breaking change in the backend-type.

    Properties

    • kind enum required
      Information known before an update is started.
      Values: update, preview, refresh, rename, destroy, import, Pupdate, Prefresh, Pdestroy, Pimport, Prename
    • startTime integer required
      Unix epoch timestamp (seconds) when the update started.
    • message string required
      User-provided message describing the purpose of the update.
    • environment map[string]string required
      Environment variables that were set during the update, keyed by variable name.
    • config map[string]AppConfigValue required
      Stack configuration values used during the update, keyed by config key.
    • result enum required
      Information obtained from an update completing.
      Values: not-started, in-progress, succeeded, failed
    • endTime integer required
      Unix epoch timestamp (seconds) when the update completed.
    • version integer required
      The stack version after this update completed.
    • deployment object optional
      Raw deployment state snapshot, if requested.
    • resourceChanges map[string]integer optional
      Count of resource changes by operation type (e.g. ‘create’: 5, ‘update’: 2, ‘delete’: 1).
    • resourceCount integer optional
      Total number of resources managed by the stack after this update.