-
-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Description
terraform-aws-gitlab-runner/main.tf
Lines 2 to 14 in 6f684d3
resource "aws_ssm_parameter" "runner_registration_token" { | |
name = local.secure_parameter_store_runner_token_key | |
type = "SecureString" | |
value = "null" | |
key_id = local.kms_key_arn | |
tags = local.tags | |
lifecycle { | |
ignore_changes = [value] | |
} | |
} |
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.
mahdi-megdiche-leminnov
Metadata
Metadata
Assignees
Labels
No labels