Skip to content

Commit

Permalink
Merge pull request #417 from npalm/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
npalm authored Jan 6, 2022
2 parents d7e612d + c46b080 commit 61565bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ terraform destroy
| <a name="output_runner_cache_bucket_arn"></a> [runner\_cache\_bucket\_arn](#output\_runner\_cache\_bucket\_arn) | ARN of the S3 for the build cache. |
| <a name="output_runner_cache_bucket_name"></a> [runner\_cache\_bucket\_name](#output\_runner\_cache\_bucket\_name) | Name of the S3 for the build cache. |
| <a name="output_runner_eip"></a> [runner\_eip](#output\_runner\_eip) | EIP of the Gitlab Runner |
| <a name="output_runner_launch_template_name"></a> [runner\_launch\_template\_name](#output\_runner\_launch\_template\_name) | The name of the runner's launch template. |
| <a name="output_runner_role_arn"></a> [runner\_role\_arn](#output\_runner\_role\_arn) | ARN of the role used for the docker machine runners. |
| <a name="output_runner_role_name"></a> [runner\_role\_name](#output\_runner\_role\_name) | Name of the role used for the docker machine runners. |
| <a name="output_runner_sg_id"></a> [runner\_sg\_id](#output\_runner\_sg\_id) | ID of the security group attached to the docker machine runners. |
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ resource "aws_launch_template" "gitlab_runner_instance" {
encrypted = lookup(block_device_mappings.value, "encrypted", true)
iops = lookup(block_device_mappings.value, "iops", null)
throughput = lookup(block_device_mappings.value, "throughput", null)
kms_key_id = lookup(block_device_mappings.value, "`kms_key_id`", null)
kms_key_id = lookup(block_device_mappings.value, "kms_key_id", null)
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ output "runner_eip" {
description = "EIP of the Gitlab Runner"
value = element(concat(aws_eip.gitlab_runner.*.public_ip, [""]), 0)
}

output "runner_launch_template_name" {
description = "The name of the runner's launch template."
value = aws_launch_template.gitlab_runner_instance.name
}

0 comments on commit 61565bd

Please sign in to comment.