From 786668ca64e3f9a0d578152c2e796409d86741be Mon Sep 17 00:00:00 2001 From: lwesche Date: Wed, 26 Jun 2024 09:51:09 -0700 Subject: [PATCH] undo integ tests (can't get them to work) --- .../test/aws-lambda/test/integ.layer-version.lit.ts | 2 +- packages/aws-cdk-lib/aws-lambda/test/integ.layer-version.lit.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.layer-version.lit.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.layer-version.lit.ts index 0000bd07fe30b..4ed7072d53dd0 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.layer-version.lit.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-lambda/test/integ.layer-version.lit.ts @@ -19,7 +19,7 @@ const layer = new lambda.LayerVersion(stack, 'MyLayer', { }); // To grant usage by other AWS accounts -layer.addPermission('remote-account-grant', { accountId: awsAccountId, removalPolicy: cdk.RemovalPolicy.RETAIN }); +layer.addPermission('remote-account-grant', { accountId: awsAccountId }); // To grant usage to all accounts in some AWS Ogranization // layer.grantUsage({ accountId: '*', organizationId }); diff --git a/packages/aws-cdk-lib/aws-lambda/test/integ.layer-version.lit.ts b/packages/aws-cdk-lib/aws-lambda/test/integ.layer-version.lit.ts index 0d0ce69d87e8f..989d749c6be2a 100644 --- a/packages/aws-cdk-lib/aws-lambda/test/integ.layer-version.lit.ts +++ b/packages/aws-cdk-lib/aws-lambda/test/integ.layer-version.lit.ts @@ -18,7 +18,7 @@ const layer = new lambda.LayerVersion(stack, 'MyLayer', { }); // To grant usage by other AWS accounts -layer.addPermission('remote-account-grant', { accountId: awsAccountId, removalPolicy: cdk.RemovalPolicy.RETAIN }); +layer.addPermission('remote-account-grant', { accountId: awsAccountId }); // To grant usage to all accounts in some AWS Ogranization // layer.grantUsage({ accountId: '*', organizationId });