aws-solutions / video-on-demand-on-aws

An automated reference implementation leveraging AWS Step Functions and AWS Media Services to deploy a scalable fault tolerant Video on demand workflow
https://aws.amazon.com/solutions/video-on-demand-on-aws/
Apache License 2.0
495 stars 241 forks source link

Unexpected resource deletions after subsequent updated to the template stack #203

Open StavWhist opened 1 year ago

StavWhist commented 1 year ago

Describe the bug After a subsequent update to the stack yaml template ( specifically, the PriceClass parameter in CloudFront Distribution resource) a MediaPackage type origin named "vodMPOrigin" and an associated cache behavior with a path pattern "out/*" are getting deleted resulting with an "Access Denied" error message when trying to access .mp4 video files stored in S3 Bucket with a HLS URL link received from the workflow.

To Reproduce

Expected behavior I expect the template update not to cause any interruption to those resources and being able to access the .mp4 video files using the HLS URL link after subsequent updates to the template.

Please complete the following information about the solution:

Screenshots prior to the subsequent update (i.e., the initial setup ), those resources are created image

image

with those resources, accessing the HLS URL (https://{CloudFrontDistributionID}.cloudfront.net/out/v1/XXXXX/XXXX/XXXXX/index.m3u8) link results in downloading it to my local computer. after subsequent update, they are deleted from the distribution and upon accessing the HLS URL link of the .mp4 video file, an error message appears - image

raulmlamzn commented 1 year ago

Hello StavWhist, Thanks for your feedback. We are currently reviewing this with our engineering team.