tvl-depot/users/tazjin/cloud-dns/import

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
273 B
Text
Raw Normal View History

2016-05-27 00:38:17 +02:00
#!/bin/sh
set -ue
# Imports a zone file into a Google Cloud DNS zone of the same name
readonly ZONE="${1}"
gcloud dns record-sets import "${ZONE}" \
--project composite-watch-759 \
--zone-file-format \
--delete-all-existing \
--zone "${ZONE}"