Skip to content

Commit d3af20f

Browse files
authored
Update variables.tf
1 parent 75dd223 commit d3af20f

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

nap/variables.tf

+20-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1-
#TF Cloud
1+
# Terraform Cloud Organization
22
variable "tf_cloud_organization" {
3-
type = string
4-
description = "TF cloud org (Value set in TF cloud)"
3+
type = string
4+
description = "Terraform Cloud Organization (set in GitHub secrets)"
55
}
6-
#NIGNX
7-
variable nginx_registry {
8-
type = string
9-
description = "NGINX docker regstery"
10-
default = "private-registry.nginx.com"
6+
7+
# NGINX Configuration
8+
variable "nginx_registry" {
9+
type = string
10+
description = "NGINX Docker registry"
11+
default = "private-registry.nginx.com"
1112
}
12-
variable nginx_jwt {
13-
type = string
14-
description = "JWT for pulling NGINX image"
15-
#default = "nginx_repo.jwt"
13+
14+
variable "nginx_jwt" {
15+
type = string
16+
description = "JWT for pulling NGINX image"
1617
}
18+
1719
variable "nginx_pwd" {
18-
default = "none"
20+
type = string
21+
description = "Password for NGINX (if required)"
22+
default = "none"
1923
}
24+
25+
# SSH Key (for potential SSH-based configurations)
2026
variable "ssh_key" {
2127
type = string
22-
description = "Unneeded for NAP, only present for warning handling with TF cloud variable set"
28+
description = "Unneeded for NGINX App Protect, only used for TF Cloud variable warnings"
2329
}

0 commit comments

Comments
 (0)