Skip to content

Commit c44181a

Browse files
committed
chore: satisfy SQ
1 parent a14aa66 commit c44181a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cdkConstructs/tests/constructs/RestApiGateway.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe("RestApiGateway without mTLS", () => {
2424
statements: [
2525
new PolicyStatement({
2626
actions: ["lambda:InvokeFunction"],
27-
resources: ["*"]
27+
resources: ["arn:aws:lambda:eu-west-2:123456789012:function:test-function"]
2828
})
2929
]
3030
})
@@ -181,7 +181,7 @@ describe("RestApiGateway with CSOC logs", () => {
181181
statements: [
182182
new PolicyStatement({
183183
actions: ["lambda:InvokeFunction"],
184-
resources: ["*"]
184+
resources: ["arn:aws:lambda:eu-west-2:123456789012:function:test-function"]
185185
})
186186
]
187187
})
@@ -229,7 +229,7 @@ describe("RestApiGateway with mTLS", () => {
229229
statements: [
230230
new PolicyStatement({
231231
actions: ["lambda:InvokeFunction"],
232-
resources: ["*"]
232+
resources: ["arn:aws:lambda:eu-west-2:123456789012:function:test-function"]
233233
})
234234
]
235235
})

0 commit comments

Comments
 (0)