Skip to content

Commit

Permalink
Add our DNSimple billing contact
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
issyl0 committed Jul 14, 2024
1 parent 01be30a commit c71c3cc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions dnsimple/contacts.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
resource "dnsimple_contact" "ocf" {
label = "Open Collective Foundation"
first_name = "Homebrew"
last_name = "Maintainers"
email = "[email protected]"

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]
}

}
1 change: 1 addition & 0 deletions dnsimple/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
provider "dnsimple" {}

0 comments on commit c71c3cc

Please sign in to comment.