Skip to content

Not working on Debian buster/bullseye #5

@izghitu

Description

@izghitu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions