mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
* fix(route53): return the health check on a CreateHealthCheck retry CreateHealthCheck refused any CallerReference already in use with HealthCheckAlreadyExists. AWS treats the same reference with the same settings as a retry and returns the health check it already created; only different settings are refused. The Go SDK resends the same input after a transient failure, so a Terraform or OpenTofu apply failed on Floci where it succeeds on AWS. A matching retry now returns the existing health check, and the docs note that a deleted health check's reference is reusable at once here, while AWS keeps refusing it. * fix(route53): compare a CreateHealthCheck retry on every setting it sends The retry check compared only the seven HealthCheckConfig fields Floci models, so two requests that differed in an unmodelled setting such as EnableSNI passed as a retry, and a retry stating RequestInterval or FailureThreshold at its default was refused as different from one that omitted it. The controller now records the request's settings in a canonical form, every value under HealthCheckConfig sorted (Regions and ChildHealthChecks are sets), with an omitted RequestInterval or FailureThreshold counted as AWS's default of 30 or 3 except for RECOVERY_CONTROL, and a retry must match it. A non-numeric Port, RequestInterval or FailureThreshold is now InvalidInput instead of being dropped. * refactor(route53): read the health check settings with XmlParser.extractElementTree