Skip to content
Snippets Groups Projects
Commit 65192abc authored by Timo Furrer's avatar Timo Furrer
Browse files

Merge branch 'glab-doc-login' into 'main'

Document glab and provider login

See merge request components/opentofu!174
parents ac620cfa 6f110226
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,15 @@ the `$CI_JOB_TOKEN`. However, it'll only do so if the variable is not already pr
Thus, if you want to authenticate differently or to another Terraform Module Registry,
you may just provide the `TF_TOKEN_<domain>` variable yourself, e.g. via CI/CD variables.
### Access to GitLab via `glab` or GitLab Terraform Provider
The GitLab CLI `glab` is pre-installed in all the images.
If you want to use `glab` or the GitLab Terraform Provider we recommend configuring
a CI/CD variable called `GITLAB_TOKEN`.
This will automatically authenticate both tools.
For `glab` you can just start using it, for the Terraform Provider you just need to define
the provider requirement. Tofu will do the rest.
### Opinionated Templates
This component repository also provides some templates that may often be used,
......
......@@ -141,6 +141,15 @@ the `$CI_JOB_TOKEN`. However, it'll only do so if the variable is not already pr
Thus, if you want to authenticate differently or to another Terraform Module Registry,
you may just provide the `TF_TOKEN_<domain>` variable yourself, e.g. via CI/CD variables.
### Access to GitLab via `glab` or GitLab Terraform Provider
The GitLab CLI `glab` is pre-installed in all the images.
If you want to use `glab` or the GitLab Terraform Provider we recommend configuring
a CI/CD variable called `GITLAB_TOKEN`.
This will automatically authenticate both tools.
For `glab` you can just start using it, for the Terraform Provider you just need to define
the provider requirement. Tofu will do the rest.
### Opinionated Templates
This component repository also provides some templates that may often be used,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment