chore(init-templates): fix import of init templates#21493
chore(init-templates): fix import of init templates#21493mergify[bot] merged 5 commits intoaws:mainfrom
Conversation
|
Hi @lune-sta thanks for your contribution. Please make sure you have working tests and added or updated tests where appropriate. I support the motivation behind this change. Currently the created template would run, with your change it won't anymore since |
|
@mrgrain Thank you. |
| @@ -1,3 +1,4 @@ | |||
| // import * as cdk from 'aws-cdk-lib' | |||
| import { Stack, StackProps } from 'aws-cdk-lib'; | |||
There was a problem hiding this comment.
While we are at it, let's get rid of this line and change the usage further down to cdk.Stack etc.
There was a problem hiding this comment.
Understood, Thanks.
Looks like this was blip in CI. |
|
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). |
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). |
TypeScript init-templates are not imported `cdk.Duration`. Fixed to avoid confusion for new writing CDK. ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [ ] Did you use `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*
TypeScript init-templates are not imported
cdk.Duration.Fixed to avoid confusion for new writing CDK.
All Submissions:
Adding new Unconventional Dependencies:
New Features
yarn integto deploy the infrastructure and generate the snapshot (i.e.yarn integwithout--dry-run)?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license