From 60459e3ff58d35c0d9b5392e2d94077f7e30e998 Mon Sep 17 00:00:00 2001 From: Anthony Zawacki Date: Fri, 15 Sep 2023 12:00:54 -0400 Subject: [PATCH] Ensure all input variables have types specified. --- variables.tf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/variables.tf b/variables.tf index 77b5c80..5a21182 100644 --- a/variables.tf +++ b/variables.tf @@ -11,6 +11,7 @@ variable "profile" { variable "keycloak_namespace" { description = "The namespace which will be created and into which keycloak will be deployed." + type = string default = "keycloak" } @@ -18,6 +19,7 @@ variable "keycloak_namespace" { # helm search repo bitnami/keycloak variable "keycloak_version" { description = "The version of the bitnami keycloak helm chart to install." + type = string default = "16.1.2" } @@ -26,6 +28,7 @@ variable "keycloak_version" { # Use the first value, not the second (which is for bitnami/keycloak-config-cli variable "keycloak_tag" { description = "The image tag associated with the keycloak_chart_version" + type = string default = "22.0.1-debian-11-r30" } @@ -33,65 +36,79 @@ variable "keycloak_tag" { # helm search repo gogatekeeper/gatekeeper variable "gogatekeeper_version" { description = "The version of the gogatekeeper helm chart that is the basis for gogatekeeper deployments." + type = string default = "0.1.37" } variable "gogatekeeper_tag" { description = "The tag associated with the gogatekeeper_version" + type = string default = "2.6.2" } # Keycloak will be accessible at . variable "keycloak_hostname" { description = "The hostname used to access the keycloak service." + type = string default = "keycloak" } variable "cluster_domain" { description = "The domain name used to reference ingresses for the cluster." + type = string } variable "certificate_issuer" { description = "The name of the certificate issuer to use for ingresses." + type = string } variable "istio_namespace" { description = "The namespace in which the certificate request is to be created." + type = string default = "istio-system" } variable "default_realm" { description = "The default realm to use to configure the environment." + type = string default = "cluster-admin" } variable "admin_email" { description = "The email address of the admin of the default realm." + type = string } variable "external_database_vendor" { description = "The type of database keycloak will be using to store configuration data. mariadb/mssql/mysql/oracle/postgres" + type = string default = "postgresql" } variable "external_database_address" { description = "The address to access the external database. for example: `adsd-rds-mft-sbox.c2tx3ocukdth.us-gov-east-1.rds.amazonaws.com`" + type = string } variable "external_database_port" { description = "The port to use to access the database." + type = string } variable "external_database_database" { description = "The name of the database within which keycloak should maintain configuration data." + type = string default = "keycloak" } variable "external_database_username" { description = "The username keycloak should use to log into the external database." + type = string default = "keycloak" } variable "external_database_password" { description = "The password for the external_database_username user." + type = string }