Skip to content

InvalidChangeBatch with Geolocation A Records #317

@rick-rheo

Description

@rick-rheo

Issue type

  • Bug report

cli53 version (cli53 --version)

cli53 version 0.8.18

OS / Platform

MacOS

Steps to reproduce

For Geolocation A records e.g.

geo 300 IN A 1.2.3.4 ; AWS routing="GEOLOCATION" countryCode="*" identifier="Default"
geo 300 IN A 1.2.3.5 ; AWS routing="GEOLOCATION" continentCode="EU" identifier="Europe"

Apply the zone file once to an otherwise empty zone

cli53 import --file dns/zonefile.txt --replace --wait mydomain.com

Attempt to re-import the zone file (either same or edited)

Returns error

Error: InvalidChangeBatch: [Tried to create resource record set [name='geo.mydomain.com.', type='A', set-identifier='Default'] but it already exists]
	status code: 400, request id: 4a61e3b6-0585-424d-aa05-e53792b4c882

Expected behaviour

No errors

Actual behaviour

Errors that make me sad :(

Error: InvalidChangeBatch: [Tried to create resource record set [name='geo.mydomain.com.', type='A', set-identifier='Default'] but it already exists]
	status code: 400, request id: 4a61e3b6-0585-424d-aa05-e53792b4c882

Have you checked if the documentation has the information you require?

If it does I can't find it

Could you contribute a fix or help testing with this issue?

I'd be happy to test a fix or provide more info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions