Commit 802f130
authored
chore(ec2): update
Re-creation of #34199
A jsii related issue #34199 (comment) should be fixed before merging this PR.
### Issue # (if applicable)
Follow-up to #33619.
### Reason for this change
CcApi context provider now can expect the matched count of resources: aws/aws-cdk-cli#251.
`PrefixList.fromLookup()` is needed to be updated using this feature not to persist invalid results in `cdk.context.json`.
See also aws/aws-cdk-cli#257.
### Description of changes
- Bumped `@aws-cdk/cloud-assembly-schema` to latest ^44.1.0.
- Specify `expectedMatchCount: 'exactly-one'` to expect exactly one prefix list id is returned.
- Updated validation to check unexpected result. Actual error will be returned from the context provider.
### Describe any new or updated permissions being added
N/A
### Description of how you validated changes
Updated integ tests.
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*PrefixList.fromLookup() to expect the result from CcApi context provider has exactly one resource (#34565)1 parent 703a379 commit 802f130
File tree
40 files changed
+83
-183
lines changed- packages
- @aws-cdk-testing/framework-integ
- @aws-cdk
- app-staging-synthesizer-alpha
- aws-amplify-alpha
- aws-applicationsignals-alpha
- aws-apprunner-alpha
- aws-cloud9-alpha
- aws-codestar-alpha
- aws-ec2-alpha
- aws-eks-v2-alpha
- aws-gamelift-alpha
- aws-glue-alpha
- aws-iot-actions-alpha
- aws-iot-alpha
- aws-iotevents-actions-alpha
- aws-iotevents-alpha
- aws-ivs-alpha
- aws-kinesisanalytics-flink-alpha
- aws-lambda-go-alpha
- aws-lambda-python-alpha
- aws-location-alpha
- aws-msk-alpha
- aws-neptune-alpha
- aws-pipes-alpha
- aws-pipes-enrichments-alpha
- aws-pipes-sources-alpha
- aws-pipes-targets-alpha
- aws-redshift-alpha
- aws-route53resolver-alpha
- aws-s3objectlambda-alpha
- aws-sagemaker-alpha
- aws-servicecatalogappregistry-alpha
- cx-api
- example-construct-library
- integ-tests-alpha
- aws-cdk-lib
- aws-ec2
- lib
- test
- rosetta/cloud_assembly_schema
- tools/@aws-cdk/cdk-build-tools
40 files changed
+83
-183
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments