Skip to content

muhlba91/home-center-io-global-dns

Repository files navigation

home-center.io: Global DNS

Build status License

This repository contains the Global DNS for home-center.io using Pulumi.


Requirements

Creating the Infrastructure

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

Destroying the Infrastructure

The entire infrastructure can be destroyed via:

yarn install
yarn build; pulumi destroy

Environment Variables

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) project
  • CLOUDSDK_COMPUTE_REGION the Google Cloud (GCP) region
  • GOOGLE_APPLICATION_CREDENTIALS: reference to a file containing the Google Cloud (GCP) service account credentials

Configuration

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

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

Continuous Integration and Automations

About

home-center.io: Global DNS entries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published