aws
aws copied to clipboard
Fix ignored Route53 geolocation value
Description
If geo_location_country is specified, geo_location_subdivision will always be ignored. And you need to specify both arguments. Our use case is to replicate this Change to make a geolocation rule for Crimea:
<Change>
<Action>CREATE</Action>
<ResourceRecordSet>
<Name>verysupercool.lookatme.example.com</Name>
<Type>A</Type>
<SetIdentifier>test</SetIdentifier>
<GeoLocation>
<CountryCode>UA</CountryCode>
<SubdivisionCode>11</SubdivisionCode>
</GeoLocation>
<TTL>300</TTL>
<ResourceRecords>
<ResourceRecord>
<Value>127.0.0.1</Value>
</ResourceRecord>
</ResourceRecords>
</ResourceRecordSet>
</Change>
Issues Resolved
#geo_location no longer ignores geo_location_subdivision
Check List
- [x] All tests pass. See TESTING.md for details.
- [ ] New functionality includes testing.
- [ ] New functionality has been documented in the README if applicable.
@mach-kernel please add a CHANGELOG entry
@ramereth added :)
Happy 2023