diff --git a/lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/nails/part_2/cttso-v2-output-to-pieriandx-ready-event/index.ts b/lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/nails/part_2/cttso-v2-output-to-pieriandx-ready-event/index.ts index a60267db0..99c3888a3 100644 --- a/lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/nails/part_2/cttso-v2-output-to-pieriandx-ready-event/index.ts +++ b/lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/nails/part_2/cttso-v2-output-to-pieriandx-ready-event/index.ts @@ -165,9 +165,8 @@ export class Cttsov2CompleteToPieriandxConstruct extends Construct { // FIXME - cannot get the 'current' version of an IFunction object NagSuppressions.addResourceSuppressions(getDataFromRedCapPyLambdaObj, [ { - id: 'AwsSolutions-IAM5[Resource::*', + id: 'AwsSolutions-IAM5', reason: 'Cannot get latest version of redcap lambda function ($LATEST) will not work', - appliesTo: [`Resource::arn:aws:lambda:::function:${props.redcapLambdaObj.functionName}*`], }, ]); props.redcapLambdaObj.grantInvoke(getDataFromRedCapPyLambdaObj.currentVersion);