Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l-with/set-env-vars-for-gitlab-terraform-state-access


https://github.com/l-with/set-env-vars-for-gitlab-terraform-state-access

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

# set env vars for gitlab terraform state access

script to set environment variables for accessing GitLab Terraform state, print usage with `set_env_vars_for_gitlab_terraform_state_access -h`

The following environment variables have to be set before calling the script

- `GITLAB_URL`

the url of the GitLab instance

- `GITLAB_PROJECT_ID`

the project id of the GitLab project

- `TF_USERNAME`

the username to authenticate access to the terraform state

- `TF_PASSWORD`

the password (or token) to authenticate access to the terraform state

- `TF_STATE_NAME`

the name of the terraform state

These variables can be set by the script `prepare_env_for_set_env_vars_for_gitlab_terraform_state_access`, print usage with `prepare_env_for_set_env_vars_for_gitlab_terraform_state_access -h`.