forked from cattle-ops/terraform-aws-gitlab-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
54 lines (44 loc) · 1.66 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
output "runner_as_group_name" {
description = "Name of the autoscaling group for the gitlab-runner instance"
value = aws_autoscaling_group.gitlab_runner_instance.name
}
output "runner_cache_bucket_arn" {
description = "ARN of the S3 for the build cache."
value = module.cache.arn
}
output "runner_cache_bucket_name" {
description = "Name of the S3 for the build cache."
value = module.cache.bucket
}
output "runner_agent_role_arn" {
description = "ARN of the role used for the ec2 instance for the GitLab runner agent."
value = aws_iam_role.instance.arn
}
output "runner_agent_role_name" {
description = "Name of the role used for the ec2 instance for the GitLab runner agent."
value = aws_iam_role.instance.name
}
output "runner_role_arn" {
description = "ARN of the role used for the docker machine runners."
value = aws_iam_role.docker_machine.arn
}
output "runner_role_name" {
description = "Name of the role used for the docker machine runners."
value = aws_iam_role.docker_machine.name
}
output "runner_agent_sg_id" {
description = "ID of the security group attached to the GitLab runner agent."
value = aws_security_group.runner.id
}
output "runner_sg_id" {
description = "ID of the security group attached to the docker machine runners."
value = aws_security_group.docker_machine.id
}
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
}