From a131b3051428d3abe220d172f93d09880b96222f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 2 Jul 2019 12:48:05 +0100 Subject: refactor(infra): Move infrastructure into monorepo structure --- infra/dns/import | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 infra/dns/import (limited to 'infra/dns/import') diff --git a/infra/dns/import b/infra/dns/import new file mode 100755 index 000000000000..e79e426b5553 --- /dev/null +++ b/infra/dns/import @@ -0,0 +1,11 @@ +#!/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}" -- cgit 1.4.1