Skip to content

Commit

Permalink
Merge pull request #27 from aws-solutions/release/v1.2.1
Browse files Browse the repository at this point in the history
Update to v1.2.1
  • Loading branch information
eggoynes authored Apr 18, 2023
2 parents a414cd5 + ca3c9c1 commit 10dbda5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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).

## [1.2.1] - 2023-4-17
### Changed
- Updated object ownership configuration on Logs bucket and CloudFront Logging bucket

## [1.2.0] - 2022-10-17
### Added
- AppRegistry Application Stack Association
Expand Down
6 changes: 5 additions & 1 deletion source/cdk/lib/vod-foundation-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class VodFoundation extends cdk.Stack {
*/
const solutionId = 'SO0146'
const solutionName = 'Video on Demand on AWS Foundation'
this.templateOptions.description = '(SO0146) v1.2.0: Video on Demand on AWS Foundation Solution Implementation';
this.templateOptions.description = '(SO0146) %%VERSION%%: Video on Demand on AWS Foundation Solution Implementation';
/**
* Mapping for sending anonymous metrics to AWS Solution Builders API
*/
Expand All @@ -48,6 +48,7 @@ export class VodFoundation extends cdk.Stack {
encryption: s3.BucketEncryption.S3_MANAGED,
publicReadAccess: false,
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
objectOwnership: s3.ObjectOwnership.OBJECT_WRITER
});
/**
* Get Cfn Resource for the logs bucket and add CFN_NAG rule
Expand Down Expand Up @@ -125,6 +126,9 @@ export class VodFoundation extends cdk.Stack {
bucket: logsBucket,
prefix: 'cloudfront-logs'
}
},
cloudFrontLoggingBucketProps: {
objectOwnership: s3.ObjectOwnership.OBJECT_WRITER
}
});
/**
Expand Down

0 comments on commit 10dbda5

Please sign in to comment.