Skip to content

Commit 823ab4a

Browse files
committed
fix: removing some unused variables in sub module
1 parent b8aaabc commit 823ab4a

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,8 @@ module "dns" {
5959
source = "./modules/dns"
6060
apex_domain = var.apex_domain
6161
subdomain = var.subdomain
62-
tls_email = var.tls_email
63-
enable_external_dns = var.enable_external_dns
6462
create_and_configure_subdomain = var.create_and_configure_subdomain
6563
force_destroy_subdomain = var.force_destroy_subdomain
66-
enable_tls = var.enable_tls
67-
production_letsencrypt = var.production_letsencrypt
6864
manage_apex_domain = var.manage_apex_domain
6965
manage_subdomain = var.manage_subdomain
7066
}

modules/dns/variables.tf

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,9 @@ variable "subdomain" {
1111
default = ""
1212
}
1313

14-
variable "tls_email" {
15-
type = string
16-
default = ""
17-
}
18-
1914
// ----------------------------------------------------------------------------
2015
// Flag Variables
2116
// ----------------------------------------------------------------------------
22-
variable "enable_external_dns" {
23-
type = bool
24-
default = false
25-
}
26-
2717
variable "create_and_configure_subdomain" {
2818
type = bool
2919
default = false
@@ -35,16 +25,6 @@ variable "force_destroy_subdomain" {
3525
default = false
3626
}
3727

38-
variable "enable_tls" {
39-
type = bool
40-
default = false
41-
}
42-
43-
variable "production_letsencrypt" {
44-
type = bool
45-
default = false
46-
}
47-
4828
variable "manage_apex_domain" {
4929
description = "Flag to control if apex domain should be managed/updated by this module. Set this to false,if your apex domain is managed in a different AWS account or different provider"
5030
default = true

0 commit comments

Comments
 (0)