Community Note
- Please vote on this issue by adding a π reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request
What do you want us to build?
I'd like you to add support for automatic execution of CDK projects via App Runner, to enable App Runner to be a CDK CI tool, as well as do App Runner-y type things.
The reason is that I don't just want to run some code in App Runner, I want to be able to create the DynamoDB tables, EventBrige buses, CloudFront distributions and Lambda functions etc. that my app uses, and be able to create roles for things.
With a Serverless Framework or SAM project, I can add CloudFormation Resources into the YAML, and they get created, but I don't want to write any CloudFormation YAML because it doesn't have great developer tooling like autocomplete by default, and it's verbose compared to CDK.
Instead, I'd like to create a CDK project in any CDK language (TypeScript, Go etc.), push it to Github, and App Runner will execute the deployment for me, automatically without extra configuration. For example, if app runner sees a /cdk
directory, it just looks at that instead, and doesn't look for (or require) the apprunner.yaml
file. That way, I can use the CDK stuff requested in #7 and I don't have to write an apprunner.yaml
file at all.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I considered bootstrapping a CDK deploy with the CDK pipeline stuff.
I considered using Github Actions, Circle CI or other tools to run the deployment.
Additional context
Anything else we should know?
Attachments
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)