Skip to content

Commit

Permalink
workaround Amazon CloudWatch Logs resource policy size restriction (#686
Browse files Browse the repository at this point in the history
)

* add /aws/vendedlogs/states/ previx to log group name
  • Loading branch information
ianwow authored Feb 1, 2022
1 parent 6307d36 commit d2b8ab0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .viperlightignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ docs/assets/images/MIE-architecture-diagram.pptx
.github/workflows/release-workflow.yml:45
.github/workflows/release-workflow.yml:46
.github/workflows/release-workflow.yml:261
.github/workflows/release-workflow.yml:365
.github/workflows/release-workflow.yml:349
.github/workflows/release-workflow.yml:366
.github/workflows/release-workflow.yml:382
.github/workflows/scheduled-workflow.yml:19
.github/workflows/scheduled-workflow.yml:20
Expand Down Expand Up @@ -63,4 +64,4 @@ test/integ/workflowapi/conftest.py:34
test/test-media/sample-data.json:1
test/unit/workflowapi/test_workflowapi_app.py:265
test/unit/workflowapi/test_workflowapi_app.py:669
docs/source/theme/smithy/static/aws-sdk-2.826.0.min.js
docs/source/theme/smithy/static/aws-sdk-2.826.0.min.js
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.1] - tbd

### Fixed:

* Avoid resource policy size restrictions in AWS Step Functions (#686)

## [4.0.0] - 2022-01-11

### New:
Expand Down
5 changes: 5 additions & 0 deletions deployment/media-insights-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,11 @@ Resources:
reason: "Log group data is encrypted by default in CloudWatch"
Properties:
RetentionInDays: 14
LogGroupName:
'Fn::Join':
- "-"
- - !Sub "/aws/vendedlogs/states/${AWS::StackName}-StepFunctionLogGroup"
- !GetAtt GetShortUUID.Data
Tags:
- Key: "environment"
Value: "mie"
Expand Down

0 comments on commit d2b8ab0

Please sign in to comment.