-
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
feat(apprunner): Add VPC Ingress Connection #22931
Conversation
@JethroBakker-dotcom thanks for taking the time to work on this PR! Since this is a |
This PR has been in the MERGE CONFLICTS state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! I have a few comments inline, but overall this looks very good!
const service = new apprunner.Service(this, 'Service', { | ||
source: apprunner.Source.fromEcrPublic({ | ||
imageConfiguration: { port: 8000 }, | ||
imageIdentifier: 'public.ecr.aws/aws-containers/hello-app-runner:latest', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should build this for the user instead of having them add the entire string, if possible. For instance, because of the function beingfromEcrPublic
we already know that the prefix of it will be public.ecr.aws/
so this should only ask for the pieces that we don't know and build it for the user.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand your comment but I don't think it is related to this PR, other parts of the README also mention this type of imageIdentifier.
* Import from VPC Ingress Connection attributes. | ||
*/ | ||
public static fromVpcIngressConnectionAttributes(scope: Construct, id: string, attrs: VpcIngressConnectionAttributes): IVpcIngressConnection { | ||
const vpcIngressConnectionArn = attrs.vpcIngressConnectionArn; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a function to look up the VPC by ARN? fromVpcIngressConnectionArn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And one to look it up by name? fromVpcIngressConnectionName
This PR has been in the BUILD FAILING state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week. |
Pull request has been modified.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Implements #22850
All Submissions:
Adding new Unconventional Dependencies:
New Features
yarn integ
to deploy the infrastructure and generate the snapshot (i.e.yarn integ
without--dry-run
)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license