mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(iam): implement UpdateAccountPasswordPolicy, Get and Delete IAM's UpdateAccountPasswordPolicy returned UnsupportedOperation, blocking the aws_iam_account_password_policy Terraform resource. Mirrors the existing account-alias trio's storage shape: a single stored value per account, replaced wholesale rather than merged on update, NoSuchEntity from Get/Delete when nothing has ever been set. floci-ge4 * fix(iam): reject malformed boolean values in UpdateAccountPasswordPolicy Malformed booleans such as RequireSymbols=banana were silently coerced to false and persisted instead of being rejected. Boolean parameters now accept only true/false (case-insensitive) and return ValidationError otherwise, matching the existing numeric-parameter validation. * fix(iam): default HardExpiry to false and reject malformed integers HardExpiry now always appears in GetAccountPasswordPolicy and UpdateAccountPasswordPolicy responses, defaulting to false when the caller omits it, matching AWS's documented boolean default instead of omitting the element entirely (a permanent Terraform diff otherwise). MaxPasswordAge and PasswordReusePrevention keep their existing absent-when-unset behavior. MinimumPasswordLength now goes through a new strict integer parser (getStrictIntParam) mirroring the existing strict boolean helper, so a non-numeric value returns ValidationError instead of silently falling back to the field's default and succeeding with 200. MaxPasswordAge/PasswordReusePrevention already rejected malformed values via getOptionalIntParam.