cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

AWS::Logs::Delivery - BUG - different partitioning via s3SuffixPath during create and update for cloudfront sources

Open tdanecker opened this issue 8 months ago • 1 comments

Name of the resource

AWS::Logs::Delivery

Resource Name

No response

Issue Description

When viewing the configuration in the AWS Management Console for a CloudFront Distribution after creating an AWS::Logs::Delivery via CloudFormation, the partitioning has the form AWSLogs/{account-id}/CloudFront/<S3SuffixPath> .

When updating the S3SuffixPath, the partitioning shown in the AWS Management Console only shows the <S3SuffixPath> without the AWSLog/{account-id}/CloudFront prefix that was generated during creation, leading to inconsistent behavior between the creation and an update.

Expected Behavior

Creation and updates behave the same, either with the AWSLogs/{account-id}/CloudFront prefix added or not (preferably without it).

Observed Behavior

When creating an AWS::Logs::Delivery, the AWSLogs/{account-id}/CloudFront prefix is prepended to the S3SuffixPath. Subsequent updates remove the prefix again.

Test Cases

Subsequent updates following the creation of an AWS::Logs::Delivery do not add or remove additional hierarchies in front of the S3SuffixPath.

Other Details

No response

tdanecker avatar Mar 11 '25 12:03 tdanecker