-
Notifications
You must be signed in to change notification settings - Fork 824
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: migrate CLI to CDK v2 #10988
feat: migrate CLI to CDK v2 #10988
Conversation
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.
Could we please check:
- how are e2e tests are with the change.
- check what happens with existing project when customer rolls forward to cli with v2 cdk.
- spike v2 v1 side by side support.
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## cdkv2 #10988 +/- ##
==========================================
- Coverage 49.57% 49.57% -0.01%
==========================================
Files 682 682
Lines 32848 32837 -11
Branches 6705 6705
==========================================
- Hits 16285 16278 -7
+ Misses 15083 15079 -4
Partials 1480 1480
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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 do a major version bump of affected categories.
...sts__/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.test.ts
Show resolved
Hide resolved
...sts__/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.test.ts
Outdated
Show resolved
Hide resolved
...y-auth/src/provider-utils/awscloudformation/auth-stack-builder/auth-cognito-stack-builder.ts
Show resolved
Hide resolved
@@ -11,6 +12,7 @@ import { | |||
pathManager, | |||
stateManager, | |||
} from 'amplify-cli-core'; | |||
import { Construct } from 'constructs'; |
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.
relevant changes for cdk conversion
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.
Looking good overall. Please see comments.
...rc/provider-utils/awscloudformation/auth-stack-builder/auth-user-pool-group-stack-builder.ts
Outdated
Show resolved
Hide resolved
packages/amplify-category-custom/src/utils/dependency-management-utils.ts
Outdated
Show resolved
Hide resolved
packages/amplify-category-geo/src/__tests__/service-stacks/__snapshots__/mapStack.test.ts.snap
Show resolved
Hide resolved
...amplify-category-geo/src/__tests__/service-stacks/__snapshots__/placeIndexStack.test.ts.snap
Show resolved
Hide resolved
packages/amplify-category-geo/src/service-stacks/geofenceCollectionStack.ts
Show resolved
Hide resolved
This pull request introduces 1 alert when merging 529b39e into 24a811d - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 46ecbd0 into 592fd90 - view on LGTM.com new alerts:
|
packages/amplify-category-geo/src/service-utils/geofenceCollectionUtils.ts
Show resolved
Hide resolved
...ategory-storage/src/provider-utils/awscloudformation/cdk-stack-builder/s3-stack-transform.ts
Show resolved
Hide resolved
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.
small question, otherwise lgtm
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.
A few nits and a question, but overall LGTM!
packages/amplify-provider-awscloudformation/src/utils/consolidate-apigw-policies.ts
Outdated
Show resolved
Hide resolved
This pull request introduces 1 alert when merging 7fdddcb into 592fd90 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 92dc6b8 into 592fd90 - view on LGTM.com new alerts:
|
Description of changes
Issue #, if available
Description of how you validated changes
https://app.circleci.com/pipelines/github/aws-amplify/amplify-cli/10838/workflows/c59422ac-0e8e-43f4-b695-056b55efd422
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.