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

Not working on Debian buster/bullseye #5

Open
izghitu opened this issue Feb 28, 2023 · 0 comments
Open

Not working on Debian buster/bullseye #5

izghitu opened this issue Feb 28, 2023 · 0 comments

Comments

@izghitu
Copy link

izghitu commented Feb 28, 2023

Hi,

I tried your script on Debian buster/bullseye and I am getting the following:

[root@monitor:~/playground/aws-route53-wipe-hosted-zone/bin]# ./aws-route53-wipe-hosted-zone domain.com
DESTROYING: domain.com in Route 53
hosted_zone_id=/hostedzone/Z020468536DEIBVVPL5NK
./aws-route53-wipe-hosted-zone: line 27: [: too many arguments

An error occurred (InvalidChangeBatch) when calling the ChangeResourceRecordSets operation: [A HostedZone must contain at least one NS record for the zone itself.]

This works fine however on CentOS 7.

Any way to fix this to work with newer Debian?
Thanks

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