Skip to content

Commit

Permalink
test(stepfunctions-tasks): update integration tests after for invokin…
Browse files Browse the repository at this point in the history
…g lambda qualifiers

The issue has been fixed, now the integration tests need to be updated. As
expected, the PolicyDocument now lists and additional resource for the Version.
  • Loading branch information
mrgrain committed Jul 19, 2022
1 parent 5c862ce commit 2038466
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,27 @@
"Effect": "Allow",
"Resource": [
{
"Ref": "checkJobStateLambdaAliasIntegTestF2DEAA78"
"Fn::GetAtt": [
"submitJobLambdaEFB00F3C",
"Arn"
]
},
{
"Fn::Join": [
"",
[
{
"Fn::GetAtt": [
"submitJobLambdaEFB00F3C",
"Arn"
]
},
":*"
]
]
},
{
"Ref": "submitJobLambdaCurrentVersionC751A4B121e776736cfe6b8b23a046fa837cb34d"
"Ref": "checkJobStateLambdaAliasIntegTestF2DEAA78"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"id": "Invoke Handler",
"path": "aws-stepfunctions-tasks-lambda-invoke-integ/Invoke Handler",
"constructInfo": {
"fqn": "@aws-cdk/aws-stepfunctions-tasks.LambdaInvoke",
"fqn": "@aws-cdk/aws-stepfunctions.TaskStateBase",
"version": "0.0.0"
}
},
Expand Down Expand Up @@ -287,7 +287,7 @@
"id": "Check the job state",
"path": "aws-stepfunctions-tasks-lambda-invoke-integ/Check the job state",
"constructInfo": {
"fqn": "@aws-cdk/aws-stepfunctions-tasks.LambdaInvoke",
"fqn": "@aws-cdk/aws-stepfunctions.TaskStateBase",
"version": "0.0.0"
}
},
Expand Down Expand Up @@ -373,10 +373,27 @@
"Effect": "Allow",
"Resource": [
{
"Ref": "checkJobStateLambdaAliasIntegTestF2DEAA78"
"Fn::GetAtt": [
"submitJobLambdaEFB00F3C",
"Arn"
]
},
{
"Fn::Join": [
"",
[
{
"Fn::GetAtt": [
"submitJobLambdaEFB00F3C",
"Arn"
]
},
":*"
]
]
},
{
"Ref": "submitJobLambdaCurrentVersionC751A4B121e776736cfe6b8b23a046fa837cb34d"
"Ref": "checkJobStateLambdaAliasIntegTestF2DEAA78"
}
]
}
Expand Down

0 comments on commit 2038466

Please sign in to comment.