Make packages baked into images by Amigo visible to the service catalogue #6215
Annotations
2 errors
Run /./.github/actions/npm-run:
packages/cdk/lib/service-catalogue.test.ts#L14
expect(received).toMatchSnapshot()
Snapshot name: `The ServiceCatalogue stack matches the snapshot 1`
- Snapshot - 3
+ Received + 36
@@ -24412,13 +24412,46 @@
"dynamodb:Query",
"dynamodb:Scan",
],
"Effect": "Allow",
"Resource": [
- "arn:aws:dynamodb::000000000018:table/{BASE_IMAGES_TABLE_NAME}",
- "arn:aws:dynamodb::000000000018:table/{RECIPES_TABLE_NAME}",
- "arn:aws:dynamodb::000000000018:table/{BAKES_TABLE_NAME}",
+ {
+ "Fn::Join": [
+ "",
+ [
+ "arn:aws:dynamodb:",
+ {
+ "Ref": "AWS::Region",
+ },
+ ":000000000018:table/{BASE_IMAGES_TABLE_NAME}",
+ ],
+ ],
+ },
+ {
+ "Fn::Join": [
+ "",
+ [
+ "arn:aws:dynamodb:",
+ {
+ "Ref": "AWS::Region",
+ },
+ ":000000000018:table/{RECIPES_TABLE_NAME}",
+ ],
+ ],
+ },
+ {
+ "Fn::Join": [
+ "",
+ [
+ "arn:aws:dynamodb:",
+ {
+ "Ref": "AWS::Region",
+ },
+ ":000000000018:table/{BAKES_TABLE_NAME}",
+ ],
+ ],
+ },
],
},
{
"Action": "s3:GetObject",
"Effect": "Allow",
at Object.<anonymous> (packages/cdk/lib/service-catalogue.test.ts:14:29)
|
Run /./.github/actions/npm-run
Process completed with exit code 1.
|
Loading