Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add our DNSimple billing contact #7

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
- name: OpenTofu Plan
env:
GITHUB_TOKEN: ${{ secrets.TF_GH_TOKEN }}
run: tofu plan -no-color -var-file .tfvars -detailed-exitcode
DNSIMPLE_ACCOUNT: ${{ secrets.TF_DNSIMPLE_ACCOUNT }}
DNSIMPLE_TOKEN: ${{ secrets.TF_DNSIMPLE_TOKEN }}
run: tofu plan -no-color -var-file .tfvars -detailed-exitcode

trivy:
name: Trivy
Expand Down Expand Up @@ -81,4 +83,4 @@ jobs:
echo '```'
echo "</details>"
} >> $GITHUB_STEP_SUMMARY
fi
fi
43 changes: 43 additions & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

}
Empty file added dnsimple/providers.tf
Empty file.
6 changes: 5 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ locals {
unmanagable_members = ["p-linnane", "issyl0", "colindean", "MikeMcQuaid", "BrewSponsorsBot"]
}

module "dnsimple" {
source = "./dnsimple"
}

module "github" {
source = "./github"
teams = var.teams
Expand All @@ -30,4 +34,4 @@ module "google-mailinglists" {
ops = module.github.ops
tsc = module.github.tsc
plc = module.github.plc
}
}