-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(aws-apprunner): Support AWS Apprunner as new L2 construct #14813
Comments
Hey @pprahlad, thank you for this feature request. Currently CFN doesn't support AppRunner, so it will be very difficult and time intensive for us to implement an L2 without first having L1s to build off of. Check out #14779 for more information. @shellscape have you submitted a request to the CFN roadmap yet? If not, I can go ahead and do that 😄 |
@peterwoodworth it's on my to-do list but please feel free to do that! |
Afaik CFN support was announced today |
I was just about to submit an issue for this, @hoegertn could you link to where that was announced? Thanks! |
Oh exciting, it's already in the resource spec! Thanks for letting me know. @shellscape just so you're aware, the L1s will likely be in our release next week |
Great news all around! |
CloudFormation support was added at launch (required for CoPilot), but not documented in those docs until 5/20. There is a lot of customer feedback requesting L2 support. See AppRunner roadmap: aws/apprunner-roadmap#7 |
Excellent! That was the biggest thing I was waiting for (author of aws/apprunner-roadmap#7). I think one can get pretty with ECR Asset + App Runner resource, but something that makes it seamless would be amazing! |
Support the `Service` L2 construct for App Runner. - [x] implementation - [x] unit testing and integ testing - [x] README ## What's included This PR introduces the initial L2 implementation of the `Service` construct. We are allowed to create App Runner services with: 1. ECR public 2. ECR(private) from any existing ECR repository 3. ECR(private) built and pushed from local assets 3. remote github repository ## Design AWS App Runner allows us to create `Service` with `ECR_PUBLIC`, `ECR` and `Github`. We should specify the source with the `source` property to define the source of the repository for the `Service` and conditionally create the required IAM access role for `ECR` to pull the required images([doc](https://docs.aws.amazon.com/apprunner/latest/dg/security_iam_service-with-iam.html#security_iam_service-with-iam-roles)). ``` source: Source.fromEcrPublic() // To define a source from ECR Public container image. source: Source.fromEcr() // To define a source from ECR container image. source: Source.fromGitHub() // To define a source from a GitHub repository. source: Source.fromAsset() // To define a source from local code asset directory. ``` The [connection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-authenticationconfiguration.html#cfn-apprunner-service-authenticationconfiguration-connectionarn) for Github is required for `Source.fromGitHub()`. However, as there's no cloudformation support to create the App Runner `connection`, an existing connection will be required for service with github as the source. Closes: #14813 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
AWS AppRunner launched on 5/18 and I'd like to channel customer requests to add official CDK support for Apprunner in the AWS Construct library
https://docs.aws.amazon.com/apprunner/latest/api/API_Operations.html
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: