rack params set

Set one or more Rack parameters. Changes may trigger a Rack update that modifies infrastructure. Multiple parameters can be set in a single command.

Syntax

$ convox rack params set <Key=Value> [Key=Value]...

Flags

Flag Short Description
--rack -r Rack name
--wait -w Wait for completion

Example Usage

$ convox rack params set InstanceType=t3.medium InstanceCount=5
Updating parameters... OK

When a single call transitions NLB or NLBInternal from a non-Yes value to Yes, the command prints a provisioning-time hint before reporting OK:

$ convox rack params set NLB=Yes
Updating parameters... NLB provisioning typically takes 5-10 minutes; check status with 'convox rack'.
OK

The CloudFormation update continues asynchronously — use convox rack (or --wait) to confirm the NLB is reachable.

Validation and interlocks

Several parameter combinations are rejected pre-flight — before CloudFormation touches any resource — so a misconfiguration cannot strand a stack in UPDATE_ROLLBACK_FAILED.

  • NLB allow-CIDR listsNLBAllowCIDR and NLBInternalAllowCIDR accept up to 5 canonical IPv4 CIDRs. IPv6, non-canonical host-bit forms (10.0.0.1/24), duplicates, and surrounding whitespace are rejected with a specific error that names the offending entry.
  • NLB deletion protection vs disable — setting NLB=No (or NLBInternal=No) while the corresponding NLB*DeletionProtection is Yes is rejected. Disable protection first, wait for the update to complete, then toggle the NLB off.
  • NLB preserve-client-IP vs customer InstanceSecurityGroup — setting NLBPreserveClientIP or NLBInternalPreserveClientIP to Yes on a rack with a customer-supplied InstanceSecurityGroup is rejected in both directions. See NLBPreserveClientIP for the fix.

The validator applies atomically — if any parameter in the call is invalid, none are applied.

See Also