fix(cli): allow new immutable parameters via --parameter flag during update by kacpersaw · Pull Request #22221 · coder/coder
…update When a template adds a new immutable parameter, `coder update --parameter` would reject it with "parameter is immutable and cannot be updated". This happened because verifyConstraints() didn't distinguish between new immutable parameters (first-time use, should be allowed) and existing ones (should be blocked from changing). The fix adds an isFirstTimeUse check, matching the logic already used by the interactive prompt path. Fixes #22164
kacpersaw
deleted the
kacpersaw/fix-immutable-param-update
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters