forked from one-acre-fund/sonarqube-terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
95 lines (79 loc) · 2.06 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Hetzner Cloud Configuration
variable "hetzner_cloud_api_token" {
description = "API Token for Hetzner Cloud"
type = string
sensitive = true
}
# SSH Configuration
variable "ssh_public_key_name" {
description = "Name of the SSH Public Key"
type = string
}
variable "ssh_private_key_path" {
description = "Path to the SSH Private Key file"
type = string
sensitive = true
}
variable "ssh_user" {
description = "SSH username to be added to the server for SSH access"
type = string
}
variable "ssh_user_password" {
description = "Password for the SSH user"
type = string
sensitive = true
}
# Server Configuration
variable "server_datacenter" {
description = "Datacenter to deploy the server in"
type = string
}
variable "server_image" {
description = "Image to deploy on the server"
type = string
}
variable "server_type" {
description = "Type of server to deploy"
type = string
}
variable "server_name" {
description = "Name of the server"
type = string
}
# SonarQube Configuration
variable "sonarqube_admin_password" {
description = "Password for the SonarQube Administrator"
type = string
sensitive = true
}
variable "sonarqube_db_host" {
description = "Database URL for SonarQube"
type = string
}
variable "sonarqube_db_port" {
description = "Database Port for SonarQube"
type = number
default = 5432
}
variable "sonarqube_db_name" {
description = "Database Name for SonarQube"
type = string
}
variable "sonarqube_db_username" {
description = "Database Username for SonarQube"
type = string
}
variable "sonarqube_db_password" {
description = "Database Password for SonarQube"
type = string
sensitive = true
}
variable "sonarqube_domain_name" {
description = "Domain Name for the SonarQube Server"
type = string
}
# TLS Certificate Configuration
variable "tls_certificates_base_path" {
description = "Base path to the folder containing TLS certificates and keys"
type = string
}