Skip to content

Commit 88a0530

Browse files
authored
Merge pull request #1212 from awslabs/bump/2.71.0
chore(release): 2.71.0
2 parents c8d3738 + 6c33bd7 commit 88a0530

File tree

92 files changed

+636
-3483
lines changed

Some content is hidden

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

92 files changed

+636
-3483
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
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+
## [2.71.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.70.0...v2.71.0) (2024-09-27)
6+
7+
Build on CDK v2.160.0
8+
9+
### Bug Fixes
10+
* **aws-openapigateway-lambda:** add id to permission resource id ([#1211](https://github.com/awslabs/aws-solutions-constructs/pull/1211))
11+
12+
513
## [2.70.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.69.0...v2.70.0) (2024-09-18)
614

715
Built on CDK v2.154.1

deployment/v2/align-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const nullVersionMarker = process.argv[2];
1010
const targetSolutionsConstructsVersion = process.argv[3];
1111

1212
// these versions need to be sourced from a config file
13-
const awsCdkLibVersion = '2.154.1';
13+
const awsCdkLibVersion = '2.160.0';
1414

1515
for (const file of process.argv.splice(4)) {
1616
const pkg = JSON.parse(fs.readFileSync(file).toString());

deployment/v2/bootstrap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ npm install -g aws-cdk
2222

2323
# Install cfn-guard and rules
2424
export RULE_BUCKET=solutions-build-assets
25-
export RULE_FILE_NAME=aws-solutions-constructs.guard
25+
# export RULE_FILE_NAME=aws-solutions-constructs.guard
26+
export RULE_FILE_NAME=aws-solutions.guard
2627

2728
mkdir -p ~/.guard
2829
mkdir -p ~/.guard/bin

source/lerna.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
2-
"lerna": "3.15.0",
2+
"lerna": "8.1.8",
33
"npmClient": "yarn",
4-
"useWorkspaces": true,
54
"packages": [
6-
"./patterns/@aws-solutions-constructs/*"
5+
"patterns/@aws-solutions-constructs/*"
76
],
87
"rejectCycles": "true",
9-
"version": "2.70.0"
8+
"version": "2.71.0"
109
}

source/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
"constructs": "^10.0.0"
3333
},
3434
"devDependencies": {
35-
"lerna": "^3.22.1",
35+
"lerna": "8.1.8",
3636
"constructs": "^10.0.0",
3737
"aws-cdk-lib": "0.0.0"
3838
},
3939
"workspaces": {
4040
"packages": [
41-
"./patterns/@aws-solutions-constructs/*"
41+
"patterns/@aws-solutions-constructs/*"
4242
],
4343
"nohoist": [
4444
"**/deepmerge",

source/patterns/@aws-solutions-constructs/aws-openapigateway-lambda/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export class OpenApiGatewayToLambda extends Construct {
158158
// Redeploy the API any time one of the lambda functions changes
159159
this.apiGateway.latestDeployment?.addToLogicalId(apiLambdaFunction.lambdaFunction.functionArn);
160160
// Grant APIGW invocation rights for each lambda function
161-
apiLambdaFunction.lambdaFunction.addPermission('PermitAPIGInvocation', {
161+
apiLambdaFunction.lambdaFunction.addPermission(`${id}PermitAPIGInvocation`, {
162162
principal: new iam.ServicePrincipal('apigateway.amazonaws.com'),
163163
sourceArn: this.apiGateway.arnForExecuteApi('*')
164164
});

source/patterns/@aws-solutions-constructs/aws-openapigateway-lambda/test/integ.opilam-apiFromAssetExistingLambdaFunctions.js.snapshot/asset.4dc48ffba382f93077a1e6824599bbd4ceb6f91eb3d9442eca3b85bdb1a20b1e/framework.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)