github / safe-settings

ISC License
559 stars 137 forks source link

AWS CDK Deployment Example #537

Open rjmackay opened 8 months ago

rjmackay commented 8 months ago

New Feature

Could we add an AWS CDK deployment example?

Happy to submit a PR if you would be open to merging it?

Schwartz-Matthew-bah commented 8 months ago

We are very interested in this.

Oatelaus commented 1 week ago

I have published a construct because I found it a little difficult to get working - both in CDK and using serverless approaches such as lambdas. You can find the construct on NPM as https://www.npmjs.com/package/@oatelaus/cdk-safe-settings

You can see the source code here: https://github.com/Oatelaus/packages/tree/main/packages/cdk-safe-settings

I had to drop @probot/adapter-aws-lambda-serverless as it didn't support Probot v13 and I essentially rewrote the functionality of that library within my construct however probably best to open a PR to update that library eventually.

Oatelaus commented 6 days ago

There's been a new release of @probot/adapter-aws-lambda-serverless which supports Probot v13.

https://github.com/probot/adapter-aws-lambda-serverless/pull/128