Skip to main content

Mass Instance Version

mass instance versionโ€‹

Set instance version

Synopsisโ€‹

Set instance version

Set the version for an instance in Massdriver.

Examplesโ€‹

Set the version for an instance using the slug@version format:

shell
mass instance version api-prod-db@latest

The slug can be found in the instance info panel. The instance slug is a combination of the <project-slug>-<env-slug>-<manifest-slug>.

Version Formatโ€‹

The version can be:

  • A semantic version (e.g., 1.2.3)
  • A version constraint (e.g., ~1.2, ~1)
  • A release channel (e.g., latest)
mass instance version <instance-id>@<version> [flags]

Optionsโ€‹

  -h, --help   help for version

Options inherited from parent commandsโ€‹

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSOโ€‹

  • mass instance - Manage instances of IaC deployed in environments.