This repository contains the Global DNS for home-center.io
using Pulumi.
To create the DNS records, a Pulumi Stack with the correct configuration needs to exists.
The stack can be deployed via:
yarn install
yarn build; pulumi up
The entire infrastructure can be destroyed via:
yarn install
yarn build; pulumi destroy
To successfully run, and configure the Pulumi plugins, you need to set a list of environment variables. Alternatively, refer to the used Pulumi provider's configuration documentation.
CLOUDSDK_CORE_PROJECT
: the Google Cloud (GCP) projectCLOUDSDK_COMPUTE_REGION
the Google Cloud (GCP) regionGOOGLE_APPLICATION_CREDENTIALS
: reference to a file containing the Google Cloud (GCP) service account credentials
The following section describes the configuration which must be set in the Pulumi Stack.
Attention: do use Secrets Encryption provided by Pulumi for secret values!
DNS configuration is based on entry specifications.
dns:
entry: a map of DNS entries to create
<NAME>:
type: the DNS type (e.g. A, TXT, MX, ...)
values: a list of values for the entry
domains: a list of domains to set this entry for
- zone: the zone name in Google Cloud DNS
names: a list of domain names within this zone
- GitHub Actions are linting, and verifying the code.
- Renovate Bot is updating NodeJS packages, and GitHub Actions.