Skip to content

Commit 18f4a71

Browse files
committed
Update to version 3.1.1
1 parent 423368f commit 18f4a71

File tree

5 files changed

+20
-2
lines changed

5 files changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ 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+
## [3.1.1] - 2022-11-18
9+
10+
### Fixed
11+
12+
- Bug fix for [#111](https://github.com/aws-solutions/distributed-load-testing-on-aws/issues/111) where a CloudFormation bug would occasionally cause deployments to fail.
13+
814
## [3.1.0] - 2022-11-10
915

1016
### Added

source/infrastructure/lib/testing-resources/real-time-data.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ export class RealTimeDataConstruct extends Construct {
7373
}]
7474
});
7575

76-
props.ecsCloudWatchLogGroup.addSubscriptionFilter('ECSLogSubscriptionFilter', {
76+
const ecsCloudWatchSubscriptionFilter = props.ecsCloudWatchLogGroup.addSubscriptionFilter('ECSLogSubscriptionFilter', {
7777
destination: new LambdaDestination(realTimeDataPublisher),
7878
filterPattern: FilterPattern.allTerms("INFO: Current:", "live=true")
7979
});
80+
const subscriptionFilterPermission = ecsCloudWatchSubscriptionFilter.node.findChild("CanInvokeLambda");
81+
if(subscriptionFilterPermission != null)
82+
ecsCloudWatchSubscriptionFilter.node.addDependency(subscriptionFilterPermission);
8083
}
81-
}
84+
}

source/infrastructure/test/__snapshots__/distributed-load-testing-on-aws-regional.test.ts.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@ Object {
455455
"UpdateReplacePolicy": "Retain",
456456
},
457457
"DLTRegionalFargateDLTCloudWatchLogsGroupECSLogSubscriptionFilter018E070A": Object {
458+
"DependsOn": Array [
459+
"DLTRegionalFargateDLTCloudWatchLogsGroupECSLogSubscriptionFilterCanInvokeLambda20B8ED69",
460+
],
458461
"Properties": Object {
459462
"DestinationArn": Object {
460463
"Fn::GetAtt": Array [

source/infrastructure/test/__snapshots__/distributed-load-testing-on-aws-stack.test.ts.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3373,6 +3373,9 @@ Object {
33733373
"UpdateReplacePolicy": "Delete",
33743374
},
33753375
"DLTEcsDLTCloudWatchLogsGroupECSLogSubscriptionFilterC5BB4DB5": Object {
3376+
"DependsOn": Array [
3377+
"DLTEcsDLTCloudWatchLogsGroupECSLogSubscriptionFilterCanInvokeLambdaF6EFF73B",
3378+
],
33763379
"Properties": Object {
33773380
"DestinationArn": Object {
33783381
"Fn::GetAtt": Array [

source/infrastructure/test/__snapshots__/real-time-data.test.ts.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ Object {
107107
"UpdateReplacePolicy": "Retain",
108108
},
109109
"TestLogsGroupECSLogSubscriptionFilterBFBFAB24": Object {
110+
"DependsOn": Array [
111+
"TestLogsGroupECSLogSubscriptionFilterCanInvokeLambdaD7381D91",
112+
],
110113
"Properties": Object {
111114
"DestinationArn": Object {
112115
"Fn::GetAtt": Array [

0 commit comments

Comments
 (0)