Skip to content

Commit 1a24714

Browse files
authored
release/v2.6.5 (#65)
1 parent a18e0a3 commit 1a24714

File tree

11 files changed

+23
-20
lines changed

11 files changed

+23
-20
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ assignees: ""
2222

2323
- [ ] Version: [e.g. v1.0.0]
2424

25-
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0009) - The AWS CloudFormation template for deployment of the aws-centralized-logging. Version v1.0.0_". You can also find the version from [releases](https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces/releases)
25+
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0018) - The AWS CloudFormation template for deployment of the cost-optimizer-for-amazon-workspaces. Version v1.0.0_". You can also find the version from [releases](https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces/releases)
2626

2727
- [ ] Region: [e.g. us-east-1]
2828
- [ ] Was the solution modified from the version published on this repository?

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.6.5] - 2024-02
8+
### Fixed
9+
- Updated the base python image in the Dockerfile used to mitigate [CVE-2023-47038](https://security-tracker.debian.org/tracker/CVE-2023-47038).
10+
- Update pip to mitigate [CVE-2023-5752](https://nvd.nist.gov/vuln/detail/CVE-2023-5752).
11+
- Add dependency to route to mitigate race condition between internet gateway and the route to the internet gateway.
12+
713
## [2.6.4] - 2023-10
814
### Fixed
915
- Updated @babel/traverse to mitigate [CVE-2023-45133](https://github.com/aws-solutions/cost-optimizer-for-amazon-workspaces/pull/61)

NOTICE.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ boto3 under the Apache License 2.0
3131
attrs under the MIT License
3232
botocore under the Apache License 2.0
3333
certifi under the Mozilla Public License 2.0
34+
charset-normalizer under the MIT License
3435
idna under the BSD 3-Clause "New" or "Revised" License
3536
iniconfig under the MIT License
3637
jmespath under the MIT License
@@ -45,15 +46,8 @@ urllib3 under the MIT License
4546
freezegun under the Apache License Version 2.0
4647
pytest-cov under the MIT License
4748
pytest-env under the MIT License
48-
python-dateutil under the Apache License 2.0
49-
s3transfer under the Apache License 2.0
50-
six under the MIT License
5149
urllib3 under the MIT License
5250
virtualenv under the MIT License
5351
wheel under the MIT license
54-
wheel under the MIT license
55-
setuptools under the MIT license
5652
setuptools under the MIT license
57-
pip under the MIT license
58-
freezegun under the Apache License Version 2.0
5953
pip under the MIT license

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ npm run synth
248248
<a name="collection-of-operational-metrics"></a>
249249
# Collection of operational metrics
250250

251-
This solution collects anonymous operational metrics to help AWS improve the
251+
This solution collects anonymized operational metrics to help AWS improve the
252252
quality of features of the solution. For more information, including how to disable
253253
this capability, please see the
254-
[Implementation Guide](https://docs.aws.amazon.com/solutions/latest/cost-optimizer-for-workspaces/appendix.html)
254+
[Implementation Guide](https://docs.aws.amazon.com/solutions/latest/cost-optimizer-for-workspaces/anonymized-data-collection.html)
255255

256256
<a name="license"></a>
257257
# License

source/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/python:3.11.6-slim-bullseye
1+
FROM public.ecr.aws/docker/library/python:3.12.2-slim-bookworm
22
COPY workspaces_app /workspaces_app
33

44
WORKDIR /workspaces_app

source/lib/components/vpc-resources.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export class VpcResources extends Construct {
118118
routeTableId: mainRouteTable.ref,
119119
gatewayId: internetGateway.ref
120120
})
121+
routeToInternet.addDependency(internetGatewayAttachment)
121122
overrideLogicalId(routeToInternet, 'RouteToInternet')
122123

123124
const subnet1RouteTableAssociation = new CfnSubnetRouteTableAssociation(this, 'Subnet1RouteTableAssociation', {

source/package-lock.json

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

source/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cost-optimizer-for-amazon-workspaces",
3-
"version": "2.6.3",
3+
"version": "2.6.5",
44
"description": "Cost Optimizer for Amazon Workspaces (SO0018)",
55
"license": "Apache-2.0",
66
"repository": {
@@ -15,10 +15,10 @@
1515
"test": "jest --coverage",
1616
"license-report": "license-report --output=csv --delimiter=' under ' --fields=name --fields=licenseType",
1717
"cdk": "cdk",
18-
"bootstrap": "SOLUTION_VERSION=v2.6.0 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk bootstrap",
19-
"deploy": "SOLUTION_VERSION=v2.6.0 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk deploy cost-optimizer-for-amazon-workspaces",
20-
"deploySpoke": "SOLUTION_VERSION=v2.6.0 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk deploy cost-optimizer-for-amazon-workspaces-spoke",
21-
"synth": "SOLUTION_VERSION=v2.6.0 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces DIST_OUTPUT_BUCKET=solutions-reference cdk synth"
18+
"bootstrap": "SOLUTION_VERSION=v2.6.5 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk bootstrap",
19+
"deploy": "SOLUTION_VERSION=v2.6.5 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk deploy cost-optimizer-for-amazon-workspaces",
20+
"deploySpoke": "SOLUTION_VERSION=v2.6.5 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces cdk deploy cost-optimizer-for-amazon-workspaces-spoke",
21+
"synth": "SOLUTION_VERSION=v2.6.5 SOLUTION_NAME=cost-optimizer-for-amazon-workspaces SOLUTION_TRADEMARKEDNAME=cost-optimizer-for-amazon-workspaces DIST_OUTPUT_BUCKET=solutions-reference cdk synth"
2222
},
2323
"devDependencies": {
2424
"@aws-cdk/assert": "2.68.0",

source/test/__snapshots__/hub-snapshot.test.ts.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,6 +1944,9 @@ exports[`hub stack synth matches the existing snapshot 1`] = `
19441944
},
19451945
"RouteToInternet": {
19461946
"Condition": "CreateNewVPCCondition",
1947+
"DependsOn": [
1948+
"InternetGatewayAttachment",
1949+
],
19471950
"Properties": {
19481951
"DestinationCidrBlock": "0.0.0.0/0",
19491952
"GatewayId": {

source/testing_requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
uuid==1.30
21
pytest>=7.2.0
32
pytest-mock==3.10.0
43
coverage==7.2.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
pip==22.2.2
1+
pip==24.0
22
setuptools==68.2.0

0 commit comments

Comments
 (0)