Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 719 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 719 Bytes

terraform-modules/gitlab-runner

Overview

Install gitlab-runner.

Limitations

Use module only on ubuntu/debian system. Tested on ubuntu 18.04, 20.04.

Usage

Use this module in your tf file:

data "local_file" "ssh_key_private" {
  filename = pathexpand("~/.ssh/id_rsa")
}

module "gitlab-runner" {
  source = "git::https://github.com/a-kataev/terraform-modules.git//gitlab-runner"
  connection_hosts = ["111.122.133.144"]
  connection_private_key = data.local_file.ssh_key_private.content
  registration_token = ""
  tag_list = ["docker", "seflhost"]
}

Update provider plugins:

$ terraform init

Apply changes:

$ terraform apply

Requirements

terraform >= 0.12