Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt

Use this file to discover all available pages before exploring further.

Performs a partial update on a catalog resource. Only the specified fields are changed — all other fields are preserved.

Synopsis

murmur patch <kind> <name> --set field=value [--file-field field.path=filename ...]

Arguments

NameTypeRequiredDescription
kindstringyesThe catalog resource kind. Run murmur describe to list available kinds.
namestringyesThe resource name to update.
--setstringyes (unless --file-field is provided)Set a field to a value. Format: field=value. Repeatable. Supports dotted paths for nested fields (e.g. gcp.project=my-project).
--file-fieldstringnoInject file content at a dotted field path. Format: field.path=filename. Repeatable.
At least one --set or --file-field is required.

Value type inference

The --set flag infers the value type automatically:
InputInferred typeExample
Integer stringinteger--set max_vms=100
true / falseboolean--set paused=true
Anything elsestring--set machine_type_ref=murmur-n2-standard-16

Examples

Change a pool’s VM limit

murmur patch pool-config default --set max_vms=100
Patched pool-config "default"

Change an environment’s machine type

murmur patch environment staging --set machine_type_ref=murmur-n2-standard-16
Patched environment "staging"

Update multiple fields at once

murmur patch environment staging --set machine_type_ref=murmur-n2-standard-16 --set disk_size_gb=200
Patched environment "staging"

Update a nested field

murmur patch placement custom-gcp --set gcp.project=my-project
Patched placement "custom-gcp"

Inject file content into a field

murmur patch recipe python-toolchain --file-field provisioning_script=provision.sh
Patched recipe "python-toolchain"

Errors

CodeMeaningWhat to do
NOT_FOUNDNo resource with that kind and name exists.Check the name. Run murmur get <kind> to list available resources.
UNAUTHENTICATEDIdentity token is missing or expired.Run murmur auth or check your murmur.local.yaml configuration.
INVALID_ARGUMENTThe kind is not recognized or a field name or value is invalid.Run murmur describe to check the kind’s schema.
PERMISSION_DENIEDThe resource is a platform builtin and cannot be modified.Platform-managed resources are immutable. Create your own resource with a different name.