Skip to content

Commit

Permalink
update forge and tig workflows to use ecs_lambda flag when determine …
Browse files Browse the repository at this point in the history
…to use lambda or fargate
  • Loading branch information
sliu008 committed Dec 23, 2024
1 parent cfdb755 commit be8b22c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
4 changes: 2 additions & 2 deletions terraform-deploy/forge_step.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ resource "aws_sfn_state_machine" "forge" {
{
"And": [
{
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
"IsPresent": true
},
{
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
"BooleanEquals": true
}
],
Expand Down
17 changes: 2 additions & 15 deletions terraform-deploy/tig_step.tf
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,11 @@ resource "aws_sfn_state_machine" "tig" {
{
"And": [
{
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
"IsPresent": true
},
{
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
"BooleanEquals": true
}
],
"Next": "ECSImageProcess"
},
{
"And": [
{
"Variable": "$.meta.collection.meta.workflowChoice.image_ecs",
"IsPresent": true
},
{
"Variable": "$.meta.collection.meta.workflowChoice.image_ecs",
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
"BooleanEquals": true
}
],
Expand Down

0 comments on commit be8b22c

Please sign in to comment.