document api key usage

This commit is contained in:
Kiara Grouwstra 2022-08-20 19:39:35 +02:00
parent 38478ffb76
commit cdccc88297
2 changed files with 11 additions and 3 deletions

6
.gitignore vendored
View File

@ -13,8 +13,8 @@ crash.*.log
.terraformrc
terraform.rc
# Ignore local backend.tfvars
backend.tfvars
# Ignore local .tfvars
*.tfvars
# Ignore Terraform lock file
.terraform.lock.hcl
.terraform.lock.hcl

View File

@ -26,6 +26,14 @@ As we're using GitLab's Terraform image for our CI/CD pipeline, we'll stick to
using the latest version of Terraform. Instruction on how to install Terraform
can be found here: <https://www.terraform.io/downloads>
### Authentication
Create a file `terraform.tfvars` containing:
```
do_token = "<GREENHOST_API_KEY>"
```
... substituting in our actual key.
### Managed state
- go to https://gitlab.com/bij1/intranet/terraform/-/terraform