Skip to content

How do I use self-hosted gitlab with terraform-aws-ci repo #686

Answered by pras111gw
pras111gw asked this question in How do I
Discussion options

You must be logged in to vote

Using self-hosted gitlab

In this article, we cover steps necessary to use a self-hosted gitlab instance with Gruntwork's terraform-aws-ci repo.

Obtain and store Gitlab Personal Access Token

We will use gitlab PAT to authenticate with gitlab. Instructions for creating PAT are here: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html

AWS Secrets Manager is ideal for storing the token, as it offers encryption, granular access policies, ability to rotate secrets, audit trail and versioning.

Create a secret and copy the secret's ARN.

Add gitlab settings to terraform-helper module

In terraform-update-variable script, start with the variable declarations section in run_update fun…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iancoralogix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant