Skip to content

Commit

Permalink
Merge pull request #1162 from awslabs/bump/2.64.0
Browse files Browse the repository at this point in the history
chore(release): 2.64.0
  • Loading branch information
biffgaut committed Jul 31, 2024
2 parents 858dea3 + 3fff2c2 commit b75d774
Show file tree
Hide file tree
Showing 97 changed files with 1,018 additions and 909 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

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.

## [2.64.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.63.0...v2.64.0) (2024-07-31)

Built on CDK v2.150.0

* **aws-alb-lambda** allow vpc in loadBalancerProps when specifying subnets ([#1161](https://github.com/awslabs/aws-solutions-constructs/issues/1161))

## [2.63.0](https://github.com/awslabs/aws-solutions-constructs/compare/v2.62.0...v2.63.0) (2024-07-19)

Built on CDK v2.147.3
Built on CDK v2.150.0

* **aws-apigatewayv2websockets-sqs:** New construct! ([#1140](https://github.com/awslabs/aws-solutions-constructs/pull/1140))

Expand Down
2 changes: 1 addition & 1 deletion deployment/v2/align-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const nullVersionMarker = process.argv[2];
const targetSolutionsConstructsVersion = process.argv[3];

// these versions need to be sourced from a config file
const awsCdkLibVersion = '2.149.0';
const awsCdkLibVersion = '2.150.0';

for (const file of process.argv.splice(4)) {
const pkg = JSON.parse(fs.readFileSync(file).toString());
Expand Down
2 changes: 1 addition & 1 deletion source/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"./patterns/@aws-solutions-constructs/*"
],
"rejectCycles": "true",
"version": "2.63.0"
"version": "2.64.0"
}
2 changes: 1 addition & 1 deletion source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@
},
"peerDependencies": {
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,3 +519,35 @@ test('Confirm that CheckAlbProps is called', () => {
// Assertion
expect(app).toThrowError('Error - Either provide loadBalancerProps or existingLoadBalancerObj, but not both.\n');
});

test('Test sending VPC in loadBalancerProps error', () => {
const props = {
loadBalancerProps: {
vpc: { val: 'placeholder' }
}
};

const app = () => {
defaults.CheckAlbProps(props);
};

expect(app).toThrowError("Any existing VPC must be defined in the construct props (props.existingVpc). A VPC specified in the loadBalancerProps must be the same VPC");
});

test('WHen providing VPC in construct and resource props, the vpcId must match', () => {
const fakeVpcOne = {vpcId: 'one'};
const fakeVpcTwo = {vpcId: 'two'};

const props = {
existingVpc: fakeVpcOne,
loadBalancerProps: {
vpc: fakeVpcTwo
}
};

const app = () => {
defaults.CheckAlbProps(props);
};

expect(app).toThrowError("Any existing VPC must be defined in the construct props (props.existingVpc). A VPC specified in the loadBalancerProps must be the same VPC");
});
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1050,3 +1050,35 @@ test('Confirm that CheckAlbProps is called', () => {
// Assertion
expect(app).toThrowError('Error - Either provide loadBalancerProps or existingLoadBalancerObj, but not both.\n');
});

test('Test sending VPC in loadBalancerProps error', () => {
const props = {
loadBalancerProps: {
vpc: { val: 'placeholder' }
}
};

const app = () => {
defaults.CheckAlbProps(props);
};

expect(app).toThrowError("Any existing VPC must be defined in the construct props (props.existingVpc). A VPC specified in the loadBalancerProps must be the same VPC");
});

test('WHen providing VPC in construct and resource props, the vpcId must match', () => {
const fakeVpcOne = {vpcId: 'one'};
const fakeVpcTwo = {vpcId: 'two'};

const props = {
existingVpc: fakeVpcOne,
loadBalancerProps: {
vpc: fakeVpcTwo
}
};

const app = () => {
defaults.CheckAlbProps(props);
};

expect(app).toThrowError("Any existing VPC must be defined in the construct props (props.existingVpc). A VPC specified in the loadBalancerProps must be the same VPC");
});
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/aws-cloudfront-apigateway": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@aws-solutions-constructs/core": "0.0.0",
"@aws-solutions-constructs/resources": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"peerDependencies": {
"@aws-solutions-constructs/core": "0.0.0",
"constructs": "^10.0.0",
"aws-cdk-lib": "^0.0.0"
"aws-cdk-lib": "0.0.0"
},
"keywords": [
"aws",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,24 +129,6 @@
"type": "aws:cdk:logicalId",
"data": "CheckBootstrapVersion"
}
],
"Eval41256dc5445742738ed917bc818694e5ServiceRoleA1AB6027": [
{
"type": "aws:cdk:logicalId",
"data": "Eval41256dc5445742738ed917bc818694e5ServiceRoleA1AB6027",
"trace": [
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
]
}
],
"Eval41256dc5445742738ed917bc818694e54EB1134F": [
{
"type": "aws:cdk:logicalId",
"data": "Eval41256dc5445742738ed917bc818694e54EB1134F",
"trace": [
"!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
]
}
]
},
"displayName": "facstp-defaults"
Expand Down
Loading

0 comments on commit b75d774

Please sign in to comment.