Skip to content

Commit 285688b

Browse files
committed
add new value to vars and update example
1 parent 85790d6 commit 285688b

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

examples/single-node/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ module "gitlab" {
2222
gitlab_lfs_s3_bucket_name = var.gitlab_lfs_s3_bucket_name
2323
gitlab_packages_s3_bucket_name = var.gitlab_packages_s3_bucket_name
2424
gitlab_registry_s3_bucket_name = var.gitlab_registry_s3_bucket_name
25+
gitlab_backup_s3_bucket_name = var.gitlab_backup_s3_bucket_name
26+
gitlab_kms_alias = var.gitlab_kms_alias
2527
}

examples/single-node/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ variable "gitlab_packages_s3_bucket_name" {
4040
}
4141

4242
variable "gitlab_registry_s3_bucket_name" {
43+
}
44+
45+
variable "gitlab_backup_s3_bucket_name" {
46+
}
47+
48+
variable "gitlab_kms_alias" {
4349
}

module/single-node-omnibus/variables.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ variable "gitlab_registry_s3_bucket_name" {
5757
default = ""
5858
}
5959

60+
variable "gitlab_backup_s3_bucket_name" {
61+
type = string
62+
description = "Name of Gitlab Backup S3 bucket"
63+
default = ""
64+
}
65+
6066
variable "dns_name" {
6167
type = string
6268
description = "A domain name for which the certificate should be issued"
@@ -143,10 +149,10 @@ variable "zone_id" {
143149
default = ""
144150
}
145151

146-
variable "alias" {
152+
variable "gitlab_kms_alias" {
147153
type = string
148154
description = "The display name of the alias. The name must start with the word `alias` followed by a forward slash"
149-
default = "alias/gitlab-kms"
155+
default = ""
150156
}
151157

152158
variable "enable_key_rotation" {

0 commit comments

Comments
 (0)