Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidChangeBatch with Geolocation A Records #317

Open
rick-rheo opened this issue Dec 15, 2021 · 0 comments
Open

InvalidChangeBatch with Geolocation A Records #317

rick-rheo opened this issue Dec 15, 2021 · 0 comments

Comments

@rick-rheo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant