Skip to content

Commit

Permalink
Fix a missing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Oct 6, 2024
1 parent b5eec87 commit f99ad2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ job "fastcgi" {
proxy {

dynamic "upstreams" {
for_each = test_include_mysql ? [{}] : []
for_each = var.test_include_mysql ? [{}] : []
content {
destination_name = "mysql"
local_bind_port = 3306
Expand Down
1 change: 1 addition & 0 deletions terraform/mediawiki.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ resource "nomad_job" "test_fastcgi" {
main_nomad_addr = data.terraform_remote_state.aws.outputs.nomad_addr
mysql_password_mediawiki = var.mysql_password_mediawiki
test_nomad_addr = data.terraform_remote_state.aws.outputs.test_nomad_addr
test_include_mysql = false
}
}
}
Expand Down

0 comments on commit f99ad2d

Please sign in to comment.