Skip to content

Commit da4b93e

Browse files
authored
chore: forward merge 'master' into 'v2-main' (#19904)
Automated action from aws/cdk-ops
2 parents 3b9f974 + ac4ef84 commit da4b93e

File tree

4,031 files changed

+785592
-5564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,031 files changed

+785592
-5564
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
### New Features
1313

1414
* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)?
15-
* [ ] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)?
15+
* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?
1616

1717
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*

.github/workflows/auto-approve.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
steps:
15-
- uses: hmarr/[email protected].0
15+
- uses: hmarr/[email protected].1
1616
with:
1717
github-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/close-stale-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
name: Stale issue job
1717
steps:
18-
- uses: aws-actions/stale-issue-cleanup@v3
18+
- uses: aws-actions/stale-issue-cleanup@v5
1919
with:
2020
# Setting messages to an empty string will cause the automation to skip
2121
# that category

.github/workflows/close-stale-prs.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
schedule:
3+
# Cron format: min hr day month dow
4+
- cron: "0 0 * * *"
5+
jobs:
6+
rix0rrr/close-stale-prs:
7+
permissions:
8+
pull-requests: write
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: rix0rrr/close-stale-prs@main
12+
with:
13+
# Required
14+
github-token: ${{ secrets.GITHUB_TOKEN }}
15+
stale-days: 21
16+
response-days: 7
17+
18+
# Optional
19+
important-checks-regex: AutoBuildProject89A8053A
20+
warn-message: This PR has been in the STATE 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.
21+
close-message: This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error.
22+
skip-labels: contribution/core
23+
close-label: closed-for-staleness
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: issue-reprioritization
2+
on:
3+
schedule:
4+
- cron: "0 0 * * 0"
5+
6+
jobs:
7+
issue-reprioritization:
8+
permissions:
9+
issues: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: kaizen3031593/issue-reprioritization-manager@main
13+
id: reprioritization-manager
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}
16+
original-label: p2
17+
new-label: p1
18+
reprioritization-threshold: 20
19+
- uses: kaizen3031593/pr-triage-manager@main
20+
with:
21+
github-token: ${{ secrets.GITHUB_TOKEN }}
22+
on-pulls: ${{ steps.reprioritization-manager.outputs.linked-pulls }}

.github/workflows/yarn-upgrade.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
npm -g install lerna npm-check-updates@^9.0.0
4141
- name: Build CLI
4242
run: cd packages/aws-cdk && ../../scripts/buildup
43+
- name: Build Integ Runner
44+
run: cd packages/@aws-cdk/integ-runner && ../../../scripts/buildup
4345
- name: List Mono-Repo Packages
4446
id: list-packages
4547
# These need to be ignored from the `ncu` runs!
@@ -63,16 +65,18 @@ jobs:
6365
lerna exec --parallel ncu -- --upgrade --filter=@types/node,@types/fs-extra --target=minor
6466
lerna exec --parallel ncu -- --upgrade --filter=typescript --target=patch
6567
lerna exec --parallel ncu -- --upgrade --reject='@types/node,@types/fs-extra,constructs,typescript,aws-sdk,aws-sdk-mock,${{ steps.list-packages.outputs.list }}' --target=minor
66-
68+
6769
# This will ensure the current lockfile is up-to-date with the dependency specifications (necessary for "yarn update" to run)
6870
- name: Run "yarn install"
6971
run: yarn install
7072

7173
- name: Run "yarn upgrade"
7274
run: yarn upgrade
73-
75+
7476
- name: Regenerate CLI attributions
7577
run: cd packages/aws-cdk && yarn pkglint
78+
- name: Regenerate Integ Runner attributions
79+
run: cd packages/@aws-cdk/integ-runner && yarn pkglint
7680

7781
# Next, create and upload the changes as a patch file. This will later be downloaded to create a pull request
7882
# Creating a pull request requires write permissions and it's best to keep write privileges isolated.
@@ -81,7 +85,7 @@ jobs:
8185
git add .
8286
git diff --patch --staged > ${{ runner.temp }}/upgrade.patch
8387
- name: Upload Patch
84-
uses: actions/upload-artifact@v2
88+
uses: actions/upload-artifact@v3
8589
with:
8690
name: upgrade.patch
8791
path: ${{ runner.temp }}/upgrade.patch
@@ -98,7 +102,7 @@ jobs:
98102
uses: actions/checkout@v3
99103

100104
- name: Download patch
101-
uses: actions/download-artifact@v2
105+
uses: actions/download-artifact@v3
102106
with:
103107
name: upgrade.patch
104108
path: ${{ runner.temp }}

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [1.152.0](https://github.com/aws/aws-cdk/compare/v1.151.0...v1.152.0) (2022-04-06)
6+
7+
8+
### Features
9+
10+
* **cfnspec:** cloudformation spec v63.0.0 ([#19679](https://github.com/aws/aws-cdk/issues/19679)) ([dba96a9](https://github.com/aws/aws-cdk/commit/dba96a9ec6193f630baf6c0d306def903024a56d))
11+
* **cfnspec:** cloudformation spec v65.0.0 ([#19745](https://github.com/aws/aws-cdk/issues/19745)) ([796fc64](https://github.com/aws/aws-cdk/commit/796fc6401124c00b835cbb8679b47cd373811209))
12+
* **cli:** add --build option ([#19663](https://github.com/aws/aws-cdk/issues/19663)) ([eb9b8e2](https://github.com/aws/aws-cdk/commit/eb9b8e23906e2e1375f45f795d71b905bc0a52af)), closes [#19667](https://github.com/aws/aws-cdk/issues/19667)
13+
* **cli:** preview of `cdk import` ([#17666](https://github.com/aws/aws-cdk/issues/17666)) ([4f12209](https://github.com/aws/aws-cdk/commit/4f122099e2d4a6b3bdf6edfb2e99986dd266a71e))
14+
* **core:** throw error when stack name exceeds max length ([#19725](https://github.com/aws/aws-cdk/issues/19725)) ([1ffd45e](https://github.com/aws/aws-cdk/commit/1ffd45e5aa179aef0622902306701a526f6dfa6c))
15+
* **eks:** add k8s v1.22 ([#19756](https://github.com/aws/aws-cdk/issues/19756)) ([9a518c5](https://github.com/aws/aws-cdk/commit/9a518c59f5fcb74dd73df1a91681039b6c150fec))
16+
* **opensearch:** Add latest Opensearch Version 1.2 ([#19749](https://github.com/aws/aws-cdk/issues/19749)) ([a2ac36e](https://github.com/aws/aws-cdk/commit/a2ac36e6dbe486aa87e46d17f5472d6af6c39397))
17+
* add new integration test runner ([#19754](https://github.com/aws/aws-cdk/issues/19754)) ([1b4d010](https://github.com/aws/aws-cdk/commit/1b4d010ed29cfb4a8f7f5a8ecc22c7c97bccde4e))
18+
* **eks:** alb-controller v2.4.1 ([#19653](https://github.com/aws/aws-cdk/issues/19653)) ([1ec08df](https://github.com/aws/aws-cdk/commit/1ec08dfc85122fc6f3d9e3c28abc7cd116f08d91))
19+
* **lambda:** add support for ephemeral storage ([#19552](https://github.com/aws/aws-cdk/issues/19552)) ([f1d9b6a](https://github.com/aws/aws-cdk/commit/f1d9b6aa39c10a85c61ab3aaceabac88789bd2cf)), closes [#19605](https://github.com/aws/aws-cdk/issues/19605)
20+
* **s3:** EventBridge bucket notifications ([#18614](https://github.com/aws/aws-cdk/issues/18614)) ([d8e602b](https://github.com/aws/aws-cdk/commit/d8e602b6c1b4cb8ca7038f4b21a7a7092ea8466d)), closes [#18076](https://github.com/aws/aws-cdk/issues/18076)
21+
* **synthetics:** new puppeteer 3.5 runtime ([#19673](https://github.com/aws/aws-cdk/issues/19673)) ([ce2b91b](https://github.com/aws/aws-cdk/commit/ce2b91b319da0221adffcdda54321b860db2a56d)), closes [#19634](https://github.com/aws/aws-cdk/issues/19634)
22+
23+
24+
### Bug Fixes
25+
26+
* **aws_applicationautoscaling:** Add missing members to PredefinedMetric enum ([#18978](https://github.com/aws/aws-cdk/issues/18978)) ([75a6fa7](https://github.com/aws/aws-cdk/commit/75a6fa75d053fc1172e83b57a27e4b450bb79729)), closes [#18969](https://github.com/aws/aws-cdk/issues/18969)
27+
* **cli:** apps with many resources scroll resource output offscreen ([#19742](https://github.com/aws/aws-cdk/issues/19742)) ([053d22c](https://github.com/aws/aws-cdk/commit/053d22cb77016e0e65157c8713fefedb3c0bf91b)), closes [#19160](https://github.com/aws/aws-cdk/issues/19160)
28+
* **cli:** support attributes of DynamoDB Tables for hotswapping ([#19620](https://github.com/aws/aws-cdk/issues/19620)) ([2321ece](https://github.com/aws/aws-cdk/commit/2321eced6cc16925c6d50e35b140f9ad4008d758)), closes [#19421](https://github.com/aws/aws-cdk/issues/19421)
29+
* **cloudwatch:** automatic metric math label cannot be suppressed ([#17639](https://github.com/aws/aws-cdk/issues/17639)) ([7fa3bf2](https://github.com/aws/aws-cdk/commit/7fa3bf2e385451171fcaeda388a93602cb12f4d8))
30+
* **codedeploy:** add name validation for Application, Deployment Group and Deployment Configuration ([#19473](https://github.com/aws/aws-cdk/issues/19473)) ([9185042](https://github.com/aws/aws-cdk/commit/91850423db97e7fa244d125a115477fa007a12a0))
31+
* **codedeploy:** the Service Principal is wrong in isolated regions ([#19729](https://github.com/aws/aws-cdk/issues/19729)) ([7e9a43d](https://github.com/aws/aws-cdk/commit/7e9a43dcad55645a8e816e39af54feeb04d7a8cf)), closes [#19399](https://github.com/aws/aws-cdk/issues/19399)
32+
* **core:** `Fn.select` incorrectly short-circuits complex expressions ([#19680](https://github.com/aws/aws-cdk/issues/19680)) ([7f26fad](https://github.com/aws/aws-cdk/commit/7f26fad5241756cdb6b15c9fb20995a96bba71f2))
33+
* **core:** detect and resolve stringified number tokens ([#19578](https://github.com/aws/aws-cdk/issues/19578)) ([7d9ab2a](https://github.com/aws/aws-cdk/commit/7d9ab2a783d1d3ae4508760149dee7ac263fdd44)), closes [#19546](https://github.com/aws/aws-cdk/issues/19546) [#19550](https://github.com/aws/aws-cdk/issues/19550)
34+
* **core:** reduce CFN template indent size to save bytes ([#19656](https://github.com/aws/aws-cdk/issues/19656)) ([fd63ca3](https://github.com/aws/aws-cdk/commit/fd63ca3995fb74b563a348589adf5fb06b4ef771))
35+
* **ecs:** 'desiredCount' and 'ephemeralStorageGiB' cannot be tokens ([#19453](https://github.com/aws/aws-cdk/issues/19453)) ([c852239](https://github.com/aws/aws-cdk/commit/c852239936b79581dbcf0dc8d56e3bb76a52e2dc)), closes [#16648](https://github.com/aws/aws-cdk/issues/16648)
36+
* **ecs:** remove unnecessary error when adding volume to external task definition ([#19774](https://github.com/aws/aws-cdk/issues/19774)) ([5446ded](https://github.com/aws/aws-cdk/commit/5446ded3d858098655b6427c9fdea56e77e2c0cd)), closes [#19259](https://github.com/aws/aws-cdk/issues/19259)
37+
* **iam:** policies aren't minimized as far as possible ([#19764](https://github.com/aws/aws-cdk/issues/19764)) ([876ed8a](https://github.com/aws/aws-cdk/commit/876ed8ad1726d6b77e7450eadbd1a4ded8236544)), closes [#19751](https://github.com/aws/aws-cdk/issues/19751)
38+
* **logs:** Faulty Resource Policy Generated ([#19640](https://github.com/aws/aws-cdk/issues/19640)) ([1fdf122](https://github.com/aws/aws-cdk/commit/1fdf1223304e15d905723553a40640b8bcb0ec56)), closes [#17544](https://github.com/aws/aws-cdk/issues/17544)
39+
540
## [1.151.0](https://github.com/aws/aws-cdk/compare/v1.150.0...v1.151.0) (2022-03-31)
641

742

CONTRIBUTING.md

+37-8
Original file line numberDiff line numberDiff line change
@@ -172,23 +172,49 @@ eval $(gp env -e)
172172

173173
## Pull Requests
174174

175+
Below is a flow chart that describes how your PR may be treated by repository maintainers:
176+
177+
```mermaid
178+
graph TD
179+
A[Incoming PR] -->B[Is an issue attached?]
180+
B -->|Yes - labels copied from issue| C[Is it labeled P1?]
181+
B -->|No - auto-labeled as P2| D["Is the effort small?"]
182+
C -->|Yes - P1| E[Is the PR build succeeding?]
183+
C -->|No - it is P2| D
184+
D -->|Yes| E
185+
D -->|No| F[Can you break down the PR into smaller chunks?]
186+
F --->|Yes| I[Please do. This will help get traction on your PR.]
187+
F -->|No| J[Try to garner community support on the issue you are <br/> trying to solve. With 20 +1s, the issue will be relabeled as P1.]
188+
E --->|Yes| G[We will review your PR as soon as we can]
189+
E -->|No| H[If the build is failing for more than 4 weeks <br/> without any work on it, we will close the PR.]
190+
```
191+
192+
Note that, if we do not have time to review your PR, it is not the end of the road. We are asking
193+
for more community support on the attached issue before we focus our attention there. Any `P2` issue
194+
with 20 or more +1s will be automatically upgraded from `P2`to `P1`.
195+
175196
### Step 1: Find something to work on
176197

177-
If you want to contribute a specific feature or fix you have in mind, look at active [pull
178-
requests](https://github.com/aws/aws-cdk/pulls) to see if someone else is already working on it. If not, you can start
179-
contributing your changes.
198+
If you want to contribute a specific feature or fix you have in mind, look to see if an issue
199+
already exists in our [backlog](https://github.com/aws/aws-cdk/issues). If not, please contribute
200+
a feature request or bug report prior to contributing the PR. We will triage this issue promptly,
201+
and the priority of the issue (`P1` or `P2`) will give indication of how much attention your PR
202+
may get.
203+
204+
It's not required to submit an issue first, but PRs that come in without attached issues will be
205+
automatically labeled as `P2`.
180206

181207
On the other hand, if you are here looking for an issue to work on, explore our [backlog of
182-
issues](https://github.com/aws/aws-cdk/issues) and find something that piques your interest. We have labeled all of our
183-
issues for easy searching.
184-
If you are looking for your first contribution, the ['good first issue'
185-
label](https://github.com/aws/aws-cdk/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) will be of help.
208+
issues](https://github.com/aws/aws-cdk/issues) and find something that piques your interest.
209+
We have labeled all of our issues for easy searching. If you are looking for your first contribution,
210+
the ['good first issue' label](https://github.com/aws/aws-cdk/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
211+
will be of help.
186212

187213
It's a good idea to keep the priority of issues in mind when deciding what to
188214
work on. If we have labelled an issue as `P2`, it means it's something we won't
189215
get to soon, and we're waiting on more feedback from the community (in the form
190216
of +1s and comments) to give it a higher priority. A PR for a `P2` issue may
191-
take us some time to review, especially if it involves a complex
217+
be closed by a maintainer, especially if it involves a complex
192218
implementation. `P1` issues impact a significant number of customers, so we are
193219
much more likely to give a PR for those issues prompt attention.
194220

@@ -325,6 +351,9 @@ $ yarn watch & # runs in the background
325351

326352
* Once the pull request is submitted, a reviewer will be assigned by the maintainers.
327353

354+
* If the PR build is failing, update the PR with fixes until the build succeeds. You may have trouble getting attention
355+
from maintainers if your build is failing, and after 4 weeks of staleness, your PR will be automatically closed.
356+
328357
* Discuss review comments and iterate until you get at least one "Approve". When iterating, push new commits to the
329358
same branch. Usually all these are going to be squashed when you merge to master. The commit messages should be hints
330359
for you when you finalize your merge commit message.

INTEGRATION_TESTS.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on what type of changes require integrations tests and how you should write inte
1616
All Construct libraries in the CDK code base have integration tests that serve to -
1717

1818
1. Acts as a regression detector. It does this by running `cdk synth` on the integration test and comparing it against
19-
the `*.expected.json` file. This highlights how a change affects the synthesized stacks.
19+
the Cloud Assembly stored in the snapshot (`*.integ.snapshot/`) directory. This highlights how a change affects the synthesized stacks.
2020
2. Allows for a way to verify if the stacks are still valid CloudFormation templates, as part of an intrusive change.
2121
This is done by running `yarn integ` which will run `cdk deploy` across all of the integration tests in that package.
2222
If you are developing a new integration test or for some other reason want to work on a single integration test
@@ -102,14 +102,14 @@ To run the test you would run:
102102

103103
*Note - filename must be `*.js`*
104104
```
105-
npm run cdk-integ integ.lambda.js
105+
yarn integ --update-on-failed integ.lambda.js
106106
```
107107

108108
This will:
109109
1. Synthesize the CDK app
110110
2. `cdk deploy` to your AWS account
111111
3. `cdk destroy` to delete the stack
112-
4. Save a snapshot of the synthed CloudFormation template to `integ.lambda.expected.json`
112+
4. Save a snapshot of the Cloud Assembly to `lambda.integ.snapshot/`
113113

114114
Now when you run `npm test` it will synth the integ app and compare the result with the snapshot.
115115
If the snapshot has changed the same process must be followed to update the snapshot.

deprecated_apis.txt

-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ aws-cdk-lib.aws_cloudfront.AliasConfiguration#acmCertRef
403403
aws-cdk-lib.aws_cloudfront.AliasConfiguration#names
404404
aws-cdk-lib.aws_cloudfront.AliasConfiguration#securityPolicy
405405
aws-cdk-lib.aws_cloudfront.AliasConfiguration#sslMethod
406-
aws-cdk-lib.aws_cloudfront.Behavior#trustedSigners
407406
aws-cdk-lib.aws_cloudfront.CloudFrontWebDistribution#domainName
408407
aws-cdk-lib.aws_cloudfront.CloudFrontWebDistributionProps#aliasConfiguration
409408
aws-cdk-lib.aws_cloudfront.GeoRestriction#blacklist

design/aws-ecs/aws-ecs-priv-registry-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DockerHub images are assumed public, however DockerHub also provides private rep
1616

1717
There's also no explicit way to specify images hosted outside of DockerHub, AWS, or your local machine. Customers hosting their own registries or using another registry host, like Quay.io or JFrog Artifactory, would need to be able to specify both the image URI and the registry credentials in order to pull their images down for ECS tasks.
1818

19-
Fundamentally, specifying images hosted in DockerHub or elsewhere works the same, because when passed an image URI vs. a plain (or namespaced) image name + tag, the Docker daemon does the right thing and tries to pull the image from the specified registery.
19+
Fundamentally, specifying images hosted in DockerHub or elsewhere works the same, because when passed an image URI vs. a plain (or namespaced) image name + tag, the Docker daemon does the right thing and tries to pull the image from the specified registry.
2020

2121
Therefore, we should rename the existing `DockerHubImage` type be more generic and add the ability to optionally specify credentials.
2222

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"cdk-generate-synthetic-examples": "^0.1.8",
2121
"conventional-changelog-cli": "^2.2.2",
2222
"fs-extra": "^9.1.0",
23-
"graceful-fs": "^4.2.9",
24-
"jest-junit": "^13.0.0",
25-
"jsii-diff": "^1.55.1",
26-
"jsii-pacmak": "^1.55.1",
27-
"jsii-reflect": "^1.55.1",
28-
"jsii-rosetta": "^1.55.1",
23+
"graceful-fs": "^4.2.10",
24+
"jest-junit": "^13.1.0",
25+
"jsii-diff": "^1.56.0",
26+
"jsii-pacmak": "^1.56.0",
27+
"jsii-reflect": "^1.56.0",
28+
"jsii-rosetta": "^1.56.0",
2929
"lerna": "^4.0.0",
3030
"patch-package": "^6.4.7",
3131
"semver": "^6.3.0",

packages/@aws-cdk-containers/ecs-service-extensions/.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ nyc.config.js
1919

2020
junit.xml
2121

22-
!jest.config.js
22+
!jest.config.js
23+
!**/*.integ.snapshot/**/asset.*/*.js
24+
!**/*.integ.snapshot/**/asset.*/*.d.ts
25+
26+
!**/*.integ.snapshot/**/asset.*/**

packages/@aws-cdk-containers/ecs-service-extensions/.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ tsconfig.json
2424
junit.xml
2525

2626
test/
27-
jest.config.js
27+
jest.config.js
28+
**/*.integ.snapshot
29+
**/*.integ.snapshot

packages/@aws-cdk-containers/ecs-service-extensions/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
<!--END STABILITY BANNER-->
1111

12+
> ⚠️ v2 of this library is now available! It is compatible with AWS CDK v2 and available in
13+
> multiple languages.
14+
> The source code for v2 lives [here](https://github.com/cdklabs/cdk-ecs-service-extensions).
15+
> To migrate from this library to v2, see the [Migration Guide](https://github.com/cdklabs/cdk-ecs-service-extensions/blob/main/MIGRATING.md).
16+
1217
This library provides a high level, extensible pattern for constructing services
1318
deployed using Amazon ECS.
1419

packages/@aws-cdk-containers/ecs-service-extensions/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"watch": "cdk-watch",
1616
"lint": "cdk-lint",
1717
"test": "cdk-test",
18-
"integ": "cdk-integ",
18+
"integ": "integ-runner",
1919
"pkglint": "pkglint -f",
2020
"package": "cdk-package",
2121
"awslint": "cdk-awslint",
@@ -40,7 +40,7 @@
4040
"devDependencies": {
4141
"@types/jest": "^27.4.1",
4242
"@aws-cdk/cdk-build-tools": "0.0.0",
43-
"@aws-cdk/cdk-integ-tools": "0.0.0",
43+
"@aws-cdk/integ-runner": "0.0.0",
4444
"@aws-cdk/aws-autoscaling": "0.0.0",
4545
"@aws-cdk/cfn2ts": "0.0.0",
4646
"jest": "^27.5.1",

0 commit comments

Comments
 (0)