Skip to content

Commit

Permalink
Merge pull request #774 from Vizzuality/LET-1370
Browse files Browse the repository at this point in the history
Set the same http auth password on staging and production
  • Loading branch information
Agnieszka Figiel authored May 12, 2023
2 parents 06cfd50 + 5af6a7c commit 94600c3
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 = ""
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 94600c3

Please sign in to comment.