From c71c3ccaf1ab19ab8d8a86fb9e7af37df446478a Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 14 Jul 2024 11:05:56 -0400 Subject: [PATCH] Add our DNSimple billing contact - Set the `DNSIMPLE_ACCOUNT` and `DNSIMPLE_TOKEN` envvars to be able to run this. - The address here fake because the address in the actual account is the address of the cardholder that pays the bill (one of the PLC) and we don't want that on the public internet. --- dnsimple/contacts.tf | 18 ++++++++++++++++++ dnsimple/providers.tf | 1 + 2 files changed, 19 insertions(+) create mode 100644 dnsimple/contacts.tf create mode 100644 dnsimple/providers.tf diff --git a/dnsimple/contacts.tf b/dnsimple/contacts.tf new file mode 100644 index 0000000..98191aa --- /dev/null +++ b/dnsimple/contacts.tf @@ -0,0 +1,18 @@ +resource "dnsimple_contact" "ocf" { + label = "Open Collective Foundation" + first_name = "Homebrew" + last_name = "Maintainers" + email = "ops@brew.sh" + + phone = "+1 555 1234" + address1 = "123 Homebrew Street" + city = "Homebrew" + state_province = "HB" + postal_code = "00001" + country = "United States" + + lifecycle { + ignore_changes = [address1, city, state_province, postal_code, phone] + } + +} diff --git a/dnsimple/providers.tf b/dnsimple/providers.tf new file mode 100644 index 0000000..f42d445 --- /dev/null +++ b/dnsimple/providers.tf @@ -0,0 +1 @@ +provider "dnsimple" {}