Files
floci/docs/services
Matthew Ingle 037236daf8 feat(route53): implement UpdateHostedZoneComment (#3906)
* 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.
2026-09-19 10:20:53 -04:00
..
2026-05-10 11:53:31 -05:00
2026-08-21 00:09:04 -04:00