Terraform Module
Terraform module installation instructions
The Terraform module option provides maximum simplicity. It provisions all the required infrastructure and permissions in your cloud provider of choice before deploying the DBNL platform Helm chart, removing the need to provision any infrastructure or permission separately.
Terraform modules are available for AWS, GCP and Azure. For access to the Terraform module for your cloud provider of choice see https://registry.terraform.io/namespaces/dbnlai. To get registry credentials, please reach out to our team.
Prerequisites
The following prerequisite steps are required before starting the Terraform module installation.
Configuration
To configure the Terraform module, you will need:
A domain name to host the DBNL platform (e.g. dbnl.example.com).
A set of DBNL registry credentials to pull the DBNL artifacts (e.g. Docker images, Helm charts).
An RSA key pair to sign the personal access tokens.
An RSA key pair can be generated with:
openssl genrsa -out dbnl_dev_token_key.pem 2048Requirements
On the environment from which you are planning to install the module, you will need to:
Infrastructure
At a minimum, the user performing the installation needs to be able to provision the following infrastructure:
Google Cloud Storage (GCS)
Google Kubernetes Engine (GKE)
Specific APIs that need to be enabled for your Google Project:
Installation
The Terraform module can be installed using terraform apply.
Steps
The steps to install the Terraform module using the Terraform CLI are as follows:
Create a DBNL folder and change to it.
Create a
variables.tffile.
Create a
main.tffile.
Create a
dbnl.tfvarsfile.
Initialize the Terraform module.
Apply the Terraform module.
Create a DBNL folder and change to it.
Create a
variables.tffile.
Create a
main.tffile.
Create a
dbnl.tfvarsfile.
Initialize the Terraform module.
Apply the Terraform module.
Create a DBNL folder and change to it.
Create a
variables.tffile.
Create a
main.tffile.
Create a
dbnl.tfvarsfile.
Initialize the Terraform module.
Apply the Terraform module.
Options
For more details on all the installation options, see the Terraform module README file and examples folder.
Last updated
Was this helpful?

