Return a client error for duplicate Terraform state serials
requested to merge 344085-terraform-state-provider-reports-a-500-error-when-the-lineage-or-version-does-not-match into master
What does this MR do and why?
Returns a client error (412 Unprocessable Entity
) instead of a 500
error when attempting to upload a duplicate serial of a Terraform state.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #344085 (closed)
Edited by Matt Kasa