c4fb0432ae
GitOrigin-RevId: 3fc1143a04da49a92c3663813c6a0c1e8ccd477f
11 lines
273 B
Bash
Executable file
11 lines
273 B
Bash
Executable file
#!/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}"
|