Skip to content

Commit

Permalink
terraform - azure container instances deployment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gszczepanski committed Feb 26, 2022
1 parent 9f7711e commit a8cab9a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions tf/azure/stage_1_db/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# file contains example how to store secrets - do not commit to repo for non-demo project
variable "spring_profile" {
default = "prod"
}


variable "postgres" {
type = map
default = {
"db" = "bookworm_library"
"user" = "bookworm_user"
"password" = "xyzXYZxyz"
}
}


variable "keycloak" {
type = map
default = {
"user" = "admin"
"password" = "admin"
"import" = "/tmp/realm-bookworm.json"
"db_vendor" = "postgres"
"db_addr" = "bookworm-postgres"
"db_database_name" = "bookworm_keycloak"
"db_user" = "bookworm_keycloak_user"
"db_password" = "bookworm_keycloak_p"
"extra_args" = "-Dkeycloak.profile.feature.upload_scripts=enabled"
}
}

variable "azure_registry" {
type = map
default = {
"user" = "SecRegistry"
"password" = "TODO-PUT-PASSWORD_HERE"
}
}

0 comments on commit a8cab9a

Please sign in to comment.