Skip to content

Commit 32b05cc

Browse files
authored
using cdk 1.28.0 (#18)
* using cdk 1.28.0 * pinning minimist to >=1.2.2
1 parent 1be2b01 commit 32b05cc

File tree

3 files changed

+521
-1474
lines changed

3 files changed

+521
-1474
lines changed

lib/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Table } from '@aws-cdk/aws-dynamodb';
33
import { Function, Runtime, Code } from '@aws-cdk/aws-lambda';
44
import { Bucket } from '@aws-cdk/aws-s3';
55
import { BucketDeployment, Source } from '@aws-cdk/aws-s3-deployment';
6-
import { AwsCustomResource, AwsSdkCall } from '@aws-cdk/custom-resources';
6+
import { AwsCustomResource, AwsSdkCall, AwsCustomResourcePolicy } from '@aws-cdk/custom-resources';
77
import * as tmp from 'tmp';
88
import * as fs from 'fs';
99

@@ -127,6 +127,7 @@ exports.handler = async (event) => {
127127
},
128128
}
129129
: undefined,
130+
policy: AwsCustomResourcePolicy.fromSdkCalls({ resources: AwsCustomResourcePolicy.ANY_RESOURCE }),
130131
});
131132
fn.grantInvoke(onEvent);
132133
}

0 commit comments

Comments
 (0)