Skip to content

Commit e216d00

Browse files
authored
Merge pull request #7 from Homebrew/dnsimple-contacts
Add our DNSimple billing contact
2 parents 1bd7586 + 1e513a2 commit e216d00

File tree

5 files changed

+70
-3
lines changed

5 files changed

+70
-3
lines changed

.github/workflows/ci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
- name: OpenTofu Plan
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.TF_GH_TOKEN }}
47-
run: tofu plan -no-color -var-file .tfvars -detailed-exitcode
47+
DNSIMPLE_ACCOUNT: ${{ secrets.TF_DNSIMPLE_ACCOUNT }}
48+
DNSIMPLE_TOKEN: ${{ secrets.TF_DNSIMPLE_TOKEN }}
49+
run: tofu plan -no-color -var-file .tfvars -detailed-exitcode
4850

4951
trivy:
5052
name: Trivy
@@ -81,4 +83,4 @@ jobs:
8183
echo '```'
8284
echo "</details>"
8385
} >> $GITHUB_STEP_SUMMARY
84-
fi
86+
fi

.terraform.lock.hcl

+43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dnsimple/contacts.tf

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
resource "dnsimple_contact" "ocf" {
2+
label = "Open Collective Foundation"
3+
first_name = "Homebrew"
4+
last_name = "Maintainers"
5+
email = "ops@brew.sh"
6+
7+
phone = "+1 555 1234"
8+
address1 = "123 Homebrew Street"
9+
city = "Homebrew"
10+
state_province = "HB"
11+
postal_code = "00001"
12+
country = "United States"
13+
14+
lifecycle {
15+
ignore_changes = [address1, city, state_province, postal_code, phone]
16+
}
17+
18+
}

dnsimple/providers.tf

Whitespace-only changes.

main.tf

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ locals {
2020
unmanagable_members = ["p-linnane", "issyl0", "colindean", "MikeMcQuaid", "BrewSponsorsBot"]
2121
}
2222

23+
module "dnsimple" {
24+
source = "./dnsimple"
25+
}
26+
2327
module "github" {
2428
source = "./github"
2529
teams = var.teams
@@ -39,4 +43,4 @@ module "google-mailinglists" {
3943
ops = module.github.ops
4044
tsc = module.github.tsc
4145
plc = module.github.plc
42-
}
46+
}

0 commit comments

Comments
 (0)