Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Template Terraform repository for DataWorks GitHub

License

Notifications You must be signed in to change notification settings

dwp/dataworks-repo-template-terraform

Repository files navigation

DO NOT USE THIS REPO - MIGRATED TO GITLAB

dataworks-repo-template-terraform

Description

This repo contains Makefile and base terraform folders and jinja2 files to fit the standard pattern. This repo is a base to create new Terraform repos, renaming the template files and adding the githooks submodule, making the repo ready for use.

Running aviator will create the pipeline required on the AWS-Concourse instance, in order pass a mandatory CI ran status check. this will likely require you to login to Concourse, if you haven't already.

After cloning this repo, please generate terraform.tf and terraform.tfvars files:
make bootstrap

In addition, you may want to do the following:

  1. Create non-default Terraform workspaces as and if required:
    make terraform-workspace-new workspace=<workspace_name> e.g.
    make terraform-workspace-new workspace=qa

  2. Configure Concourse CI pipeline:

    1. Add/remove jobs in ./ci/jobs as required
    2. Create CI pipeline:
      aviator