Skip to content

Commit 42ed109

Browse files
author
Premdeep Saini
committed
rename create_gitlab_domain -> create_gitlab_route53_record
1 parent 0d69e4d commit 42ed109

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module "records" {
110110
version = "~> 2.0"
111111

112112
zone_name = var.hosted_zone
113-
create = var.create_gitlab_domain
113+
create = var.create_gitlab_route53_record
114114
records = [
115115
{
116116
name = var.gitlab_domain
@@ -126,7 +126,7 @@ module "records" {
126126
module "acm" {
127127
source = "terraform-aws-modules/acm/aws"
128128
version = "~> 4.0"
129-
create_certificate = var.create_gitlab_domain
129+
create_certificate = var.create_acm_certificate
130130
domain_name = var.gitlab_fqdn
131131
zone_id = data.aws_route53_zone.zone.zone_id
132132

variables.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ variable "public_subnet_ids" {
4747
description = "List of public subnet Ids for Gitlab load balancer."
4848
}
4949

50-
variable "create_gitlab_domain" {
50+
variable "create_gitlab_route53_record" {
5151
type = bool
52+
default = true
5253
description = "Whether to create a domain in Route53 for your Gitlab."
5354
}
5455
variable "gitlab_fqdn" {

0 commit comments

Comments
 (0)