feat(route53-targets): add AppSync route53 target#31976
Conversation
aws-cdk-automation
left a comment
There was a problem hiding this comment.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.
AppSync route53 target
|
Clarification Request I've written an integration test, but when trying to run it from Trying to debug I thought maybe I have to build things first, so I ran Running |
|
Hey Scott, I don't see anything incorrect in your integ test file. I would recommend just running a full clean rebuild with and see if that resolves the import error. |
@paulhcsun Thanks, this did indeed fix the issue and I'm now able run the test. Although, as the comment within the file kinda says (copied from the route53-targets ApiGateway integ test), it's a somewhat redundant test since the stack can never deploy due to the hardcoded certificate & hosted zone arns. When running (via I think this means I need a "Exemption Request". |
Awesome! And gotcha, let me just confirm with the team member who added that explanation and if there's no other way to test this then I can add the integ teste exempted label. Edit: Actually it seems like there are some integ tests for the specific targets, for example this one for interface-vpc-endpoint-target. Would you be able to reference these tests and write out for AppSync as a target as well? |
@paulhcsun I believe the key difference with API Gateway and AppSync is that they both require a certificate to be created in order to have a custom domain. The other route53-targets (such as It's not entirely clear to me why having a certificate makes it impossible to integ test, but that's how the API Gateway integ tests' comment reads to me. If I'm misunderstanding then please advise accordingly. |
|
Hi. This requirement is noted in the following docs: I've recently created an integ test that requires a domain: Do you have a domain available for an integ test? |
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
mazyu36
left a comment
There was a problem hiding this comment.
I’m not entirely confident, but I commented based on my experience from when I previously ran the integ test that uses a domain.
packages/@aws-cdk-testing/framework-integ/test/aws-route53-targets/test/integ.appsync-target.ts
Outdated
Show resolved
Hide resolved
packages/@aws-cdk-testing/framework-integ/test/aws-route53-targets/test/integ.appsync-target.ts
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #31976 +/- ##
==========================================
- Coverage 78.45% 78.42% -0.03%
==========================================
Files 106 106
Lines 7208 7208
Branches 1323 1323
==========================================
- Hits 5655 5653 -2
- Misses 1365 1368 +3
+ Partials 188 187 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
GavinZZ
left a comment
There was a problem hiding this comment.
Left a nit comment on the AppSync target naming
Pull request has been modified.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Pull request has been modified.
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
@mergify update |
☑️ Nothing to doDetails
|
|
If I'm interpreting the checks correctly, it looks like this isn't being merged because the code coverage apparently decreased... I'm not quite sure what to do about this, since my changes do have appropriate tests (as far as I can tell). @GavinZZ are you able to give any insight on this? |
|
@mergify update |
✅ Branch has been successfully updated |
|
Code coverage is something we introduced and I believe there's still some issue with it. Will reach out to the team internally to see what's going on and update you once I hear back. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |





Issue # (if applicable)
Closes #26109
Reason for this change
This PR adds support for creating alias records on AppSync's
GraphqlApi.Description of changes
appsync-target.tsfile, with theAppSyncclass.AppSynctarget class.aws-cdk-lib/aws-route53-targetsDescription of how you validated changes
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license