Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 0c9c692

Browse files
authored
Merge pull request #35 from aws-solutions/release/v1.8.6
Updated to version v1.8.6
2 parents 32e3782 + 62e718c commit 0c9c692

File tree

59 files changed

+13996
-14775
lines changed

Some content is hidden

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

59 files changed

+13996
-14775
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ package-lock.json
1212
node_modules
1313
**/__pycache__/*
1414
*.venv-test/
15+
*.venv
1516
*_yaml/
1617

1718
# CDK asset staging directory
@@ -35,4 +36,4 @@ internal/source/tools/setenv.sh
3536
/.idea
3637

3738
#SonarQube
38-
.scannerwork/
39+
.scannerwork/

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.8.6] - 2023-12-21
9+
10+
### Changed
11+
12+
- Upgraded lambdas from node 16 to node 20
13+
- Upgraded lambdas from python 3.10 to python 3.11
14+
- Upgraded aws sdk from v2 to v3
15+
816
## [1.8.5] - 2023-10-26
917

1018
### Changed

NOTICE.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@ docutils under the Massachusetts Institute of Technology (MIT) license
8585
pyasn1 under the BSD License (BSD-2-Clause)
8686
rsa under the Apache License Version 2.0
8787
@aws-cdk/aws-glue-alpha under the Apache License Version 2.0
88-
@aws-cdk/aws-synthetics-alpha under the Apache License Version 2.0
8988
@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3 under the Apache License Version 2.0
9089
@aws-solutions-constructs/aws-eventbridge-lambda under the Apache License Version 2.0
9190
@aws-solutions-constructs/aws-kinesisfirehose-s3 under the Apache License Version 2.0
9291
@aws-solutions-constructs/core under the Apache License Version 2.0
93-
@aws-cdk/aws-synthetics-alpha under the Apache License Version 2.0
9492
aws-cdk-lib under the Apache License Version 2.0
9593
constructs under the Apache License Version 2.0
9694

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ For a detailed solution implementation guide, refer to Solution Landing Page [De
6262
## Prerequisites for Customization
6363

6464
- [AWS Command Line Interface](https://aws.amazon.com/cli/)
65-
- Python 3.9
66-
- NodeJS 16
65+
- Python 3.11
66+
- NodeJS 20
6767

6868
<a name="build"></a>
6969

@@ -269,7 +269,7 @@ DevOps Monitoring Dashboard on AWS solution consists of:
269269

270270
# Collection of operational metrics
271271

272-
This solution collects anonymous operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/aws-devops-monitoring-dashboard/collection-of-operational-metrics.html).
272+
This solution collects anonymoized operational metrics to help AWS improve the quality and features of the solution. For more information, including how to disable this capability, please see the [implementation guide](https://docs.aws.amazon.com/solutions/latest/aws-devops-monitoring-dashboard/collection-of-operational-metrics.html).
273273

274274
<a name="license"></a>
275275

deployment/cdk-solution-helper/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before:
2727
"S3Key": "5efbeaf6fad70c6f155399d9bb43debfa8efd4a4c9b5e055a103fe7b12754e76.zip"
2828
},
2929
"Handler": "index.handler",
30-
"Runtime": "nodejs16.x"
30+
"Runtime": "nodejs20.x"
3131
},
3232
...
3333
}

solution-manifest.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
id: SO0143 # Solution Id
3+
name: devops-monitoring-dashboard-on-aws # trademarked name
4+
version: v1.8.6 # current version of the solution. Used to verify template headers
5+
cloudformation_templates: # This list should match with AWS CloudFormation templates section of IG
6+
- template: aws-devops-monitoring-dashboard.template
7+
main_template: true
8+
- template: sharing-account-stack.template
9+
- template: pipeline-alarm.template
10+
- template: canary-alarm.template
11+
build_environment:
12+
build_image: 'aws/codebuild/standard:7.0' # Options include: 'aws/codebuild/standard:5.0','aws/codebuild/standard:6.0','aws/codebuild/standard:7.0','aws/codebuild/amazonlinux2-x86_64-standard:4.0','aws/codebuild/amazonlinux2-x86_64-standard:5.0'

source/bin/aws_devops_monitoring_dashboard.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const SOLUTION_NAME = process.env['SOLUTION_NAME'] || 'undefined';
1919
const DIST_VERSION = process.env['DIST_VERSION'] || '%%VERSION%%';
2020
const DIST_OUTPUT_BUCKET = process.env['DIST_OUTPUT_BUCKET'] || '%%BUCKET%%';
2121
const DIST_SOLUTION_NAME = process.env['DIST_SOLUTION_NAME'] || '%%SOLUTION%%';
22-
const LAMBDA_RUNTIME_NODEJS = lambda.Runtime.NODEJS_16_X;
22+
const LAMBDA_RUNTIME_NODEJS = lambda.Runtime.NODEJS_20_X;
2323
const TEMPLATE_FORMAT_VERSION = '2010-09-09';
2424

2525
const app = new cdk.App();
@@ -48,7 +48,7 @@ const devopsDashboardStack = new DevOpsDashboardStack(app, 'aws-devops-monitorin
4848
solutionName: SOLUTION_NAME,
4949
solutionDistBucket: DIST_OUTPUT_BUCKET,
5050
solutionDistName: DIST_SOLUTION_NAME,
51-
lambdaRuntimeNode: LAMBDA_RUNTIME_NODEJS
51+
lambdaRuntimeNode: LAMBDA_RUNTIME_NODEJS,
5252
});
5353

5454
/* Stack for creating codepipeline alarm */
@@ -72,7 +72,7 @@ const sharingAccountStack = new SharingAccountStack(app, 'sharing-account-stack'
7272
solutionName: SOLUTION_NAME,
7373
solutionDistBucket: DIST_OUTPUT_BUCKET,
7474
solutionDistName: DIST_SOLUTION_NAME,
75-
lambdaRuntimeNode: LAMBDA_RUNTIME_NODEJS
75+
lambdaRuntimeNode: LAMBDA_RUNTIME_NODEJS,
7676
});
7777

7878
const appRegister = new AppRegister({

source/lambda/event_parser/lib/secrets_manager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
'use strict';
55

66
const LOGGER = new (require('./logger'))();
7-
const AWS = require('aws-sdk');
7+
const { SecretsManager } = require('@aws-sdk/client-secrets-manager');
88

99
const options = {
1010
customUserAgent: process.env.userAgentExtra
1111
};
12-
const secretsManager = new AWS.SecretsManager(options);
12+
const secretsManager = new SecretsManager(options);
1313

1414
const secretMap = new Map();
1515

@@ -29,7 +29,7 @@ const getSecret = async secretId => {
2929
let secret;
3030

3131
try {
32-
const response = await secretsManager.getSecretValue(params).promise();
32+
const response = await secretsManager.getSecretValue(params);
3333
secret = response.SecretString;
3434
secretMap.set(secretId, secret);
3535
} catch (error) {

0 commit comments

Comments
 (0)