Skip to content

Commit

Permalink
undo integ tests (can't get them to work)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwescheq committed Jun 26, 2024
1 parent 74af1e0 commit 786668c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 786668c

Please sign in to comment.