mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
* feat(route53): implement UpdateHostedZoneComment The path carried GET and DELETE but no POST, so the action answered 405 and a caller that renames or re-comments a zone could not proceed. Terraform's aws_route53_zone sends it whenever the comment changes, which includes importing an existing zone under a new configuration. A request with no Comment clears the existing one, as AWS documents, rather than leaving the previous value in place. * fix(route53): reject a body that is not an UpdateHostedZoneCommentRequest A missing Comment means "clear the comment", and XmlParser returns the default for a body it cannot parse, so a truncated or wrong-root document cleared the zone's comment and answered 200. Validate the root element first. * fix(route53): resolve the zone through the caller-ownership lookup UpdateHostedZoneComment resolved the zone with getHostedZone, which reads pre-account-isolation data written before the store was account-scoped and migrates it into whichever partition asked for it first. Use the same lookup the VPC association actions use, so only the owning account can rewrite the comment.