Skip to content

Commit 7b9021c

Browse files
Mohammad Adha Bin SaharMohammad Adha Bin Sahar
authored andcommitted
Housekeeping: remove unused variable and resources
1 parent c7b9af9 commit 7b9021c

File tree

4 files changed

+1
-17
lines changed

4 files changed

+1
-17
lines changed

infrastructure/terraform/application/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ module "helm" {
1919

2020
module "cloudflare" {
2121
source = "../modules/cloudflare"
22-
cloudflare_email = var.cloudflare_email
2322
cloudflare_tunnel_name = var.cloudflare_tunnel_name
24-
cloudflare_account_id = var.cloudflare_account_id
23+
cloudflare_account_id = var.cloudflare_account_id
2524
}

infrastructure/terraform/application/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
variable "cloudflare_email" {
2-
description = "The email address associated with your Cloudflare account"
3-
type = string
4-
default = "[email protected]"
5-
}
6-
71
variable "cloudflare_tunnel_name" {
82
description = "The name of the Cloudflare tunnel"
93
type = string

infrastructure/terraform/modules/cloudflare/main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ terraform {
77
}
88
}
99

10-
data "cloudflare_accounts" "account" {
11-
name = var.cloudflare_email
12-
}
13-
1410
resource "random_password" "tunnel_secret" {
1511
length = 64
1612
}

infrastructure/terraform/modules/cloudflare/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
variable "cloudflare_email" {
2-
description = "The email address associated with your Cloudflare account"
3-
type = string
4-
}
5-
61
variable "cloudflare_tunnel_name" {
72
description = "The name of the Cloudflare tunnel"
83
type = string

0 commit comments

Comments
 (0)