Skip to content

Commit

Permalink
using cdk 1.28.0 (#18)
Browse files Browse the repository at this point in the history
* using cdk 1.28.0

* pinning minimist to >=1.2.2
  • Loading branch information
jsdtaylor committed Mar 17, 2020
1 parent 1be2b01 commit 32b05cc
Show file tree
Hide file tree
Showing 3 changed files with 521 additions and 1,474 deletions.
3 changes: 2 additions & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Table } from '@aws-cdk/aws-dynamodb';
import { Function, Runtime, Code } from '@aws-cdk/aws-lambda';
import { Bucket } from '@aws-cdk/aws-s3';
import { BucketDeployment, Source } from '@aws-cdk/aws-s3-deployment';
import { AwsCustomResource, AwsSdkCall } from '@aws-cdk/custom-resources';
import { AwsCustomResource, AwsSdkCall, AwsCustomResourcePolicy } from '@aws-cdk/custom-resources';
import * as tmp from 'tmp';
import * as fs from 'fs';

Expand Down Expand Up @@ -127,6 +127,7 @@ exports.handler = async (event) => {
},
}
: undefined,
policy: AwsCustomResourcePolicy.fromSdkCalls({ resources: AwsCustomResourcePolicy.ANY_RESOURCE }),
});
fn.grantInvoke(onEvent);
}
Expand Down
Loading

0 comments on commit 32b05cc

Please sign in to comment.