update_vng
Update an AWS VNG launch spec configuration via JSON updates. Requires confirmation to execute.
Instructions
DESTRUCTIVE: Update an AWS VNG (launch spec) configuration. Requires confirm=true. Pass updates as a JSON string.
The Spot.io API requires userData to be base64-encoded. This tool
auto-encodes plaintext userData by default (set encode_user_data=false to
opt out if you're passing already-encoded data).
Args:
vng_id: The VNG/launch spec ID (e.g. ols-abc12345)
updates_json: JSON string of fields to update (e.g. '{"resourceLimits": {"maxInstanceCount": 20}}')
confirm: Must be true to execute. Safety guard.
account_id: Optional account ID. Defaults to SPOTINST_ACCOUNT_ID env var.
auto_apply_tags: If true, update resource tags without triggering a roll.
If None (default), omitted from request (Spot default applies).
encode_user_data: If true (default) and userData is present but not already
base64, base64-encode it before sending. Set false to pass
through as-is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vng_id | Yes | ||
| updates_json | Yes | ||
| confirm | No | ||
| account_id | No | ||
| auto_apply_tags | No | ||
| encode_user_data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |