Skip to content

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

@abeluck

Description

@abeluck

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions