Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/l-with/set-env-vars-for-gitlab-terraform-state-access
- Owner: l-with
- Created: 2023-03-14T12:22:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-16T12:58:04.000Z (over 1 year ago)
- Last Synced: 2024-04-17T21:18:56.061Z (7 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.