Skip to content

Commit 5a5ade3

Browse files
author
Dane Pilcher
committed
Merge branch 'main' into allow-gen1
2 parents 078d586 + c519703 commit 5a5ade3

File tree

47 files changed

+1236
-758
lines changed

Some content is hidden

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

47 files changed

+1236
-758
lines changed

dependency_licenses.txt

Lines changed: 41 additions & 272 deletions
Large diffs are not rendered by default.

package.json

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
"@types/js-yaml": "^4.0.0",
200200
"@typescript-eslint/eslint-plugin": "^5.59.2",
201201
"@typescript-eslint/parser": "^5.59.2",
202+
"@yarnpkg/lockfile": "^1.1.0",
202203
"@zkochan/cmd-shim": "^5.1.0",
203204
"babel-eslint": "^10.1.0",
204205
"babel-loader": "^8.1.0",
@@ -228,8 +229,7 @@
228229
"rimraf": "^3.0.0",
229230
"ts-jest": "^26.4.4",
230231
"ts-node": "^8.10.1",
231-
"typescript": "^4.5.5",
232-
"@yarnpkg/lockfile": "^1.1.0"
232+
"typescript": "^4.5.5"
233233
},
234234
"resolutions": {
235235
"**/glob-parent": "^6.0.2",

packages/amplify-category-api/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@aws-amplify/graphql-transformer-core": "2.9.2",
3636
"@aws-amplify/graphql-transformer-interfaces": "3.10.0",
3737
"@aws-amplify/graphql-transformer-migrator": "2.2.26",
38-
"@aws-cdk/aws-apigatewayv2-alpha": "~2.80.0-alpha.0",
38+
"@aws-cdk/aws-apigatewayv2-alpha": "~2.114.1-alpha.0",
3939
"@aws-sdk/client-ec2": "3.338.0",
4040
"@aws-sdk/client-iam": "3.338.0",
4141
"@aws-sdk/client-lambda": "3.338.0",
@@ -69,20 +69,20 @@
6969
"uuid": "^8.3.2"
7070
},
7171
"peerDependencies": {
72-
"@aws-amplify/amplify-cli-core": "^4.2.10",
73-
"@aws-amplify/amplify-environment-parameters": "^1.9.1",
74-
"@aws-amplify/amplify-prompts": "^2.8.4",
75-
"@aws-amplify/amplify-provider-awscloudformation": "^8.8.0",
76-
"amplify-headless-interface": "^1.17.4",
77-
"amplify-util-headless-input": "^1.9.15",
78-
"aws-cdk-lib": "^2.80.0",
79-
"constructs": "^10.0.5"
72+
"@aws-amplify/amplify-cli-core": "^4.3.9",
73+
"@aws-amplify/amplify-environment-parameters": "^1.9.14",
74+
"@aws-amplify/amplify-prompts": "^2.8.6",
75+
"@aws-amplify/amplify-provider-awscloudformation": "^8.10.11",
76+
"amplify-headless-interface": "^1.17.7",
77+
"amplify-util-headless-input": "^1.9.18",
78+
"aws-cdk-lib": "^2.129.0",
79+
"constructs": "^10.3.0"
8080
},
8181
"devDependencies": {
8282
"@aws-amplify/graphql-transformer-test-utils": "0.5.5",
8383
"@types/js-yaml": "^4.0.0",
8484
"@types/node": "^12.12.6",
85-
"amplify-util-headless-input": "^1.9.15",
85+
"amplify-util-headless-input": "^1.9.18",
8686
"ts-jest": "26.4.4"
8787
},
8888
"jest": {

packages/amplify-category-api/resources/awscloudformation/overrides-resource/APIGW/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "tsc -w"
88
},
99
"dependencies": {
10-
"@aws-amplify/cli-extensibility-helper": "^3.0.20"
10+
"@aws-amplify/cli-extensibility-helper": "^3.0.33"
1111
},
1212
"devDependencies": {
1313
"typescript": "^4.2.4"

packages/amplify-category-api/resources/awscloudformation/overrides-resource/AppSync/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"watch": "tsc -w"
88
},
99
"dependencies": {
10-
"@aws-amplify/cli-extensibility-helper": "^3.0.20"
10+
"@aws-amplify/cli-extensibility-helper": "^3.0.33"
1111
},
1212
"devDependencies": {
1313
"typescript": "^4.2.4"

packages/amplify-category-api/src/__tests__/provider-utils/awscloudformation/__snapshots__/ecs-apigw-stack.test.ts.snap

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ Object {
6666
"ap-southeast-3": Object {
6767
"states": "states.ap-southeast-3.amazonaws.com",
6868
},
69+
"ap-southeast-4": Object {
70+
"states": "states.ap-southeast-4.amazonaws.com",
71+
},
6972
"ca-central-1": Object {
7073
"states": "states.ca-central-1.amazonaws.com",
7174
},
@@ -99,6 +102,9 @@ Object {
99102
"eu-west-3": Object {
100103
"states": "states.eu-west-3.amazonaws.com",
101104
},
105+
"il-central-1": Object {
106+
"states": "states.il-central-1.amazonaws.com",
107+
},
102108
"me-central-1": Object {
103109
"states": "states.me-central-1.amazonaws.com",
104110
},
@@ -1447,7 +1453,7 @@ exports.handler = async function({ RequestType, ResourceProperties, StackId }) {
14471453
"Arn",
14481454
],
14491455
},
1450-
"Runtime": "nodejs16.x",
1456+
"Runtime": "nodejs18.x",
14511457
"Timeout": 900,
14521458
},
14531459
"Type": "AWS::Lambda::Function",
@@ -1592,7 +1598,7 @@ exports.handler = async function({ RequestType, ResourceProperties, StackId }) {
15921598
"Arn",
15931599
],
15941600
},
1595-
"Runtime": "nodejs16.x",
1601+
"Runtime": "nodejs18.x",
15961602
"Timeout": 900,
15971603
},
15981604
"Type": "AWS::Lambda::Function",
@@ -1741,7 +1747,7 @@ exports.handler = async function({ RequestType, ResourceProperties, StackId }) {
17411747
"Arn",
17421748
],
17431749
},
1744-
"Runtime": "nodejs16.x",
1750+
"Runtime": "nodejs18.x",
17451751
"Timeout": 900,
17461752
},
17471753
"Type": "AWS::Lambda::Function",

packages/amplify-category-api/src/provider-utils/awscloudformation/base-api-stack.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -554,14 +554,6 @@ export abstract class ContainersStack extends cdk.Stack {
554554
}
555555
});
556556

557-
// Until we update CDK lib to >= 2.87, custom resources use older nodejs version in lambda,
558-
// explicitly overriding the generated resources.
559-
Object.values(cfn.Resources).forEach((resource: any) => {
560-
if (resource.Type === 'AWS::Lambda::Function' && resource.Properties.Runtime && resource.Properties.Runtime === 'nodejs14.x') {
561-
resource.Properties.Runtime = 'nodejs16.x';
562-
}
563-
});
564-
565557
return cfn;
566558
}
567559
}

0 commit comments

Comments
 (0)