File tree Expand file tree Collapse file tree 6 files changed +0
-37
lines changed
module/single-node-omnibus Expand file tree Collapse file tree 6 files changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ module "gitlab" {
35
35
public_subnet_id = var.public_subnet_id
36
36
dns_name = var.dns_name
37
37
domain_name = var.domain_name
38
- registry_domain_name = var.registry_domain_name
39
38
zone_id = var.zone_id
40
39
ssh_key_name = var.ssh_key_name
41
40
gitlab_application_ami = var.gitlab_ami
@@ -65,7 +64,6 @@ module "gitlab" {
65
64
| gitlab_backup_s3_bucket_name | Name of Gitlab Backup S3 bucket | ` string ` | "" | yes |
66
65
| dns_name | Domain name for which the certificate should be issued | ` string ` | "" | yes |
67
66
| domain_name | ALB record53 entry domain name | ` string ` | "" | yes |
68
- | registry_domain_name | ALB record53 entry registry domain name | ` string ` | "" | yes |
69
67
| public_subnet_id | List of public subnet IDs to attach | ` list ` | ` <list> ` | yes |
70
68
| private_subnet_id | List of private subnet IDs to attach | ` list ` | ` <list> ` | yes |
71
69
| vpc_id | Id of the VPC Gitlab will be provisioned in | ` string ` | "" | yes |
@@ -108,6 +106,5 @@ module "gitlab" {
108
106
| acm_cert_arn | ACM Certificate ARN |
109
107
| route53_cert_validation | ALB Route53 FQDN |
110
108
| route53_gitlab_alb | Route53 FQDN for gitlab instance |
111
- | route53_gitlab_registry_alb | Route53 FQDN for registry |
112
109
| bastion_public_eip | EIP Address of Bastion Instance |
113
110
| gitlab_private_ip | Private IP Address of Gitlab Instance |
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ module "gitlab" {
15
15
public_subnet_id = var. public_subnet_id
16
16
dns_name = var. dns_name
17
17
domain_name = var. domain_name
18
- registry_domain_name = var. registry_domain_name
19
18
zone_id = var. zone_id
20
19
ssh_key_name = var. ssh_key_name
21
20
gitlab_application_ami = var. gitlab_ami
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ variable "dns_name" {
21
21
variable "domain_name" {
22
22
}
23
23
24
- variable "registry_domain_name" {
25
- }
26
-
27
24
variable "zone_id" {
28
25
}
29
26
Original file line number Diff line number Diff line change @@ -37,19 +37,6 @@ resource "aws_lb_listener" "gitlab_alb_https_listener" {
37
37
}
38
38
}
39
39
40
-
41
- resource "aws_lb_listener" "gitlab_registry_alb_https_listener" {
42
- load_balancer_arn = aws_lb. gitlab_alb . arn
43
- port = 4000
44
- protocol = " HTTPS"
45
- ssl_policy = " ELBSecurityPolicy-2016-08"
46
- certificate_arn = aws_acm_certificate. gitlab_cert . arn
47
- default_action {
48
- target_group_arn = aws_lb_target_group. gitlab_alb_tg . arn
49
- type = " forward"
50
- }
51
- }
52
-
53
40
resource "aws_lb_target_group_attachment" "gitlab_alb_tg_attachment" {
54
41
target_group_arn = aws_lb_target_group. gitlab_alb_tg . arn
55
42
target_id = aws_instance. gitlab_application . id
Original file line number Diff line number Diff line change @@ -21,15 +21,4 @@ resource "aws_route53_record" "alb_dns" {
21
21
zone_id = aws_lb. gitlab_alb . zone_id
22
22
evaluate_target_health = false
23
23
}
24
- }
25
-
26
- resource "aws_route53_record" "reg_alb_dns" {
27
- zone_id = var. zone_id
28
- name = var. registry_domain_name
29
- type = " A"
30
- alias {
31
- name = aws_lb. gitlab_alb . dns_name
32
- zone_id = aws_lb. gitlab_alb . zone_id
33
- evaluate_target_health = false
34
- }
35
24
}
Original file line number Diff line number Diff line change @@ -75,12 +75,6 @@ variable "domain_name" {
75
75
default = " "
76
76
}
77
77
78
- variable "registry_domain_name" {
79
- type = string
80
- description = " ALB record53 entry registry domain name"
81
- default = " "
82
- }
83
-
84
78
variable "public_subnet_id" {
85
79
type = list
86
80
description = " A list of public subnet IDs to attach"
You can’t perform that action at this time.
0 commit comments