Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDK continuous integration #35

Closed
a-h opened this issue May 22, 2021 · 1 comment
Closed

CDK continuous integration #35

a-h opened this issue May 22, 2021 · 1 comment

Comments

@a-h
Copy link

a-h commented May 22, 2021

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.)

@a-h
Copy link
Author

a-h commented May 25, 2021

I can see that it's possible to use addons in the Copilot CLI https://aws.github.io/copilot-cli/docs/developing/additional-aws-resources/ to achieve this goal, however, the addons must currently be written in CloudFormation. Maybe supporting CDK from there would meet the goal without duplicating functionality.

@a-h a-h closed this as completed May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant