Skip to content

Commit 3926fe2

Browse files
Updates for release v2.0.3
1 parent 1189302 commit 3926fe2

File tree

41 files changed

+2015
-1743
lines changed

Some content is hidden

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

41 files changed

+2015
-1743
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,21 @@ 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+
## [2.0.3] - 2024-09-17
9+
10+
### Fixed
11+
12+
- Resolved an issue where use case deployments would fail when manually disabling anonymous metrics via the provided CloudFormation mapping
13+
14+
### Security
15+
16+
- Updated library versions to address security vulnerabilities
17+
818
## [2.0.2] - 2024-08-23
919

1020
### Fixed
1121

12-
- Issue [#135](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/135) Added a new IAM permission for the cognito-idp:GetGroup action to the CloudFormation deployment role (used when deploying use cases). This was required due to a service change.
22+
- Issue [#135](https://github.com/aws-solutions/generative-ai-application-builder-on-aws/issues/135), added a new IAM permission for the cognito-idp:GetGroup action to the CloudFormation deployment role (used when deploying use cases). This was required due to a service change.
1323

1424
## [2.0.1] - 2024-08-19
1525

deployment/build-s3-dist.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set -e
4040
# Check to see if input has been provided:
4141
if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ] || [ -z "$4" ]; then
4242
echo "Please provide all required parameters for the build script"
43-
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v2.0.2 template-bucket-name"
43+
echo "For example: ./build-s3-dist.sh solutions trademarked-solution-name v2.0.3 template-bucket-name"
4444
exit 1
4545
fi
4646

source/infrastructure/cdk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"@custom-bundler/unit-test": false,
5959
"solution_id": "SO0276",
6060
"solution_name": "generative-ai-application-builder-on-aws",
61-
"solution_version": "v2.0.2",
61+
"solution_version": "v2.0.3",
6262
"app_registry_name": "GAAB",
6363
"application_type": "AWS-Solutions",
6464
"application_trademark_name": "Generative AI Application Builder on AWS",

source/infrastructure/lib/utils/custom-infra-setup.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class CustomInfraSetup extends Construct {
128128
timeout: cdk.Duration.minutes(15)
129129
});
130130

131-
createCustomResourceForLambdaLogRetention(
131+
const logRetentionForSchedule = createCustomResourceForLambdaLogRetention(
132132
this,
133133
'ScheduleLogRetention',
134134
this.scheduledMetricsLambda.functionName,
@@ -148,6 +148,9 @@ export class CustomInfraSetup extends Construct {
148148

149149
(this.scheduledMetricsLambda.node.tryFindChild('Resource') as cdk.CfnCustomResource).cfnOptions.condition =
150150
props.sendAnonymousMetricsCondition;
151+
(logRetentionForSchedule.node.defaultChild as cdk.CfnCustomResource).cfnOptions.condition =
152+
props.sendAnonymousMetricsCondition;
153+
151154

152155
// eventbridge rule to the default event-bus to push anonymous metrics
153156
const rule = new events.Rule(this, 'MetricsPublishFrequency', {

source/infrastructure/package-lock.json

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

source/infrastructure/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gen-ai-app-builder-on-aws-infrastructure",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"bin": {
55
"infrastructure": "bin/gen-ai-app-builder.js"
66
},

source/infrastructure/test/mock-lambda-func/node-lambda/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/infrastructure/test/mock-lambda-func/node-lambda/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-lambda",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "A mock lambda implementation for CDK infrastructure unit",
55
"main": "index.js",
66
"scripts": {

source/infrastructure/test/mock-lambda-func/python-lambda/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mock-lambda-function"
3-
version = "2.0.2"
3+
version = "2.0.3"
44
authors = [ "Amazon Web Services" ]
55
description = "Mock lambda implementation to unit test infrastructure code"
66
packages = [

source/infrastructure/test/mock-lambda-func/typescript-lambda/package-lock.json

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

0 commit comments

Comments
 (0)