terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

When using the newer gitlab authentication token the SSM parameter should not be created by this module

Open abeluck opened this issue 10 months ago • 0 comments
trafficstars

https://github.com/cattle-ops/terraform-aws-gitlab-runner/blob/6f684d3bb9f023e79f2e6fdcf562937111705ee9/main.tf#L2-L14

When you want to use this (amazing!) module alongside gitlab_user_runner to create the runners in Gitlab, you will also want to provide your own aws_ssm_parameter resource containing the output of gitlab_user_runner.this.token as its value.

Passing that aws ssm param as the value to runner.gitlab.preregistered_runner_token_ssm_parameter_name works fine! However this module still creates the old parameter which is confusing and not used.

abeluck avatar Jan 15 '25 14:01 abeluck