litellm/terraform
Cursor Agent 925601810a
fix(terraform): call Partial(true) on rejected /key/update so state keeps prior values
PR #40512 added d.Partial(true) only to the plannedKeyMetadata error branch of resourceKeyUpdate, but not to the c.UpdateKey error branch. When the proxy rejects an update (e.g. budget_duration='bad' returns 400), the SDK still persisted the planned values into state, dropping the update silently on the next plan. This adds d.Partial(true) to that branch, matching what TestResourceKeyUpdateFailureKeepsPriorState expects.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
2026-09-10 04:04:32 +00:00
..
litellm feat(deploy): metrics sidecar and separate metrics port in Helm and Terraform (#40163) 2026-09-08 13:31:07 -07:00
provider fix(terraform): call Partial(true) on rejected /key/update so state keeps prior values 2026-09-10 04:04:32 +00:00