Skip to main content

Mass Resource Update

mass resource updateโ€‹

Update an imported resource

Synopsisโ€‹

Update an imported resource

Update the payload of an imported resource. This command only works for imported resources; provisioned resources cannot be updated through the CLI.

Examplesโ€‹

shell
# Update the resource payload
mass resource update 12345678-1234-1234-1234-123456789012 -f resource.json

# Update the payload and rename the resource
mass resource update 12345678-1234-1234-1234-123456789012 -f resource.json -n new-name

Optionsโ€‹

  • --file, -f: Path to the JSON file holding the new payload
  • --name, -n: New name for the resource
mass resource update [resource-id] [flags]

Optionsโ€‹

  -f, --file string   Resource payload file
-h, --help help for update
-n, --name string New resource name

Options inherited from parent commandsโ€‹

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

SEE ALSOโ€‹