Skip to content

Commit

Permalink
Rename prod base auth TF variables so they are more meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagojsag committed May 12, 2023
1 parent 186aff9 commit 5af6a7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/base/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ module "production" {
from_email_address = var.from_email_address
instance_role = "production"
tag = "production"
http_auth_username = var.staging_http_auth_username
http_auth_password = var.staging_http_auth_password
http_auth_username = var.production_http_auth_username
http_auth_password = var.production_http_auth_password
klab_api_host = var.klab_api_host
klab_api_username = var.klab_api_username
klab_api_password = var.klab_api_password
Expand Down
12 changes: 12 additions & 0 deletions infrastructure/base/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@ variable "staging_http_auth_password" {
default = ""
}

variable "production_http_auth_username" {
type = string
description = "Http auth username (for production)"
default = ""
}

variable "production_http_auth_password" {
type = string
description = "Http auth password (for production)"
default = ""
}

variable "klab_api_host" {
type = string
description = "Klab engine API host"
Expand Down

0 comments on commit 5af6a7c

Please sign in to comment.