Skip to content

Commit

Permalink
Merge pull request #26 from RenovoSolutions/25-missed-s3-permissions
Browse files Browse the repository at this point in the history
Add missing permissions to write to S3 bucket
  • Loading branch information
bmiller08 authored Oct 13, 2021
2 parents 46eb8fe + 8adb2cd commit 5cdd102
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ export class Certbot extends cdk.Construct {
managedPolicies,
});

props.bucket.grantWrite(role);

this.handler = new lambda.Function(this, 'handler', {
runtime: lambda.Runtime.PYTHON_3_8,
role,
Expand Down

0 comments on commit 5cdd102

Please sign in to comment.