Skip to content

Commit be8b22c

Browse files
committed
update forge and tig workflows to use ecs_lambda flag when determine to use lambda or fargate
1 parent cfdb755 commit be8b22c

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

terraform-deploy/forge_step.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ resource "aws_sfn_state_machine" "forge" {
5050
{
5151
"And": [
5252
{
53-
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
53+
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
5454
"IsPresent": true
5555
},
5656
{
57-
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
57+
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
5858
"BooleanEquals": true
5959
}
6060
],

terraform-deploy/tig_step.tf

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,11 @@ resource "aws_sfn_state_machine" "tig" {
5050
{
5151
"And": [
5252
{
53-
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
53+
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
5454
"IsPresent": true
5555
},
5656
{
57-
"Variable": "$.meta.collection.meta.workflowChoice.useEcs",
58-
"BooleanEquals": true
59-
}
60-
],
61-
"Next": "ECSImageProcess"
62-
},
63-
{
64-
"And": [
65-
{
66-
"Variable": "$.meta.collection.meta.workflowChoice.image_ecs",
67-
"IsPresent": true
68-
},
69-
{
70-
"Variable": "$.meta.collection.meta.workflowChoice.image_ecs",
57+
"Variable": "$.meta.collection.meta.workflowChoice.ecs_lambda",
7158
"BooleanEquals": true
7259
}
7360
],

0 commit comments

Comments
 (0)