/terraform-github-org

Terraform code to manage the terra-farm Github organisation

Primary LanguageHCL

Terra-Farm Github configuration

This repository contains the Github configuration of the terra-farm organization, implemented with Terraform.

Setup

To initialize the terraform environment for this workspace, first provide a Github token in a terraform variables file ending with .auto.tfvars:

github_token = "<your Github token here>"

The state backend is configured against Terraform Enterprise. Hashicorp graciously donated the terra-farm organization a free account. Only the Github organization administrators have access to the Terraform Enterpise Accounts.

To complete the setup, access to the Terraform Enterprise backend must be configure by exposing an access token via an environment variable:

export ATLAS_TOKEN=<your TFE token here>

As an organization admin, you should now be able to execute succesfully:

terraform init