Commit 7f47552
authored
chore: fix codegen for new service modules (#36296)
### Reason for this change
Recent refactors introduced a bug for the codegen for new service modules. The service module `index.ts` file would be generated with the wrong code path.
### Description of changes
Fix the computation of the export path for new service modules.
During debugging I also noticed that the temporary schema override did not work anymore. So this was fixed as well.
I've also deleted the one temporary schema that was currently in the repo. It is now redundant as the changes have been made available upstream.
### Describe any new or updated permissions being added
n/a
### Description of how you validated changes
existing tests plus manual test of dropping the schemas in question into the temporary schema folder
### 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*1 parent b8560af commit 7f47552
File tree
3 files changed
+8
-167
lines changed- packages/aws-cdk-lib/scripts/submodules
- tools/@aws-cdk/spec2cdk
- lib/cfn2ts
- temporary-schemas/us-east-1
3 files changed
+8
-167
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 39 | + | |
| 40 | + | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
Lines changed: 0 additions & 155 deletions
This file was deleted.
0 commit comments