mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* fix(rds): report the RDS hosted zone id on clusters and instances DescribeDBClusters omitted HostedZoneId and DB instance endpoints omitted Endpoint.HostedZoneId, so Terraform's aws_rds_cluster.hosted_zone_id was empty and Route 53 alias records pointing at RDS endpoints failed. Add a per-region rdsHostedZoneId fact to region-facts.json through the generator, with the us-east-1 value from the AWS CLI RDS documentation, and read it through AwsRegionFacts.rdsHostedZoneId. Regions without a captured value fall back to the us-east-1 zone; Floci's Route 53 resolves alias targets by DNS name, so the fallback does not affect resolution. The value is looked up when the response is built, so existing clusters and instances report it too. Closes #6778 * fix(rds): read the RDS hosted zone from the CLI example and keep the fallback in RDS AwsRegionFacts.rdsHostedZoneId now returns an Optional like every other accessor there, and RdsQueryHandler owns the fallback zone for regions with no captured value, the way API Gateway keeps its own placeholder. A missing us-east-1 entry can no longer break a describe call. The generator reads the us-east-1 zone from a snapshot of the AWS CLI describe-db-instances example under aws-docs/partition-guides, as the GovCloud API Gateway zones come from the GovCloud guide, instead of a typed-in constant. The parse is required and fails on a missing, wrong-region or ambiguous example. Adding another region is now a data change.