Skip to content

Commit

Permalink
add tertiary
Browse files Browse the repository at this point in the history
  • Loading branch information
rzlim08 committed Aug 12, 2023
1 parent 7a2b1df commit ee16d51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ module "batch_queue" {

locals {
version = file("${path.module}/version")
docker_image_path = var.app_name == "swipe-test" ? "swipe" : "ghcr.io/chanzuckerberg/swipe"
}

module "sfn" {
source = "./terraform/modules/swipe-sfn"
app_name = var.app_name
batch_job_docker_image = "swipe:${chomp(local.version)}"
batch_job_docker_image = "${local.docker_image_path}:${chomp(local.version)}"
batch_spot_job_queue_arn = module.batch_queue.batch_spot_job_queue_arn
batch_on_demand_job_queue_arn = module.batch_queue.batch_on_demand_job_queue_arn
miniwdl_dir = var.miniwdl_dir
Expand Down

0 comments on commit ee16d51

Please sign in to comment.