awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Custom CloudFormation resources are failing to be deployed/copied #307

Closed kylekirkby closed 2 years ago

kylekirkby commented 2 years ago

Describe the bug Custom cloudformation templates are not deployed / copied. I'm trying to understand why my custom CF templates are not being deployed. They have previously been deployed, but are no longer.

To Reproduce Steps to reproduce the behavior:

  1. Add a custom cloud formation template for the InputLambdaTrigger function - amplify\backend\video\resourcesHubVideoService\custom\vod-helpers\InputTriggerLambda.template
  2. Run amplify build and see that no resources are copied

Expected behavior Custom resources should be copied over to the build folder unless I'm mistaken. I've previously deployed resources using this exact same approach.

Amplify CLI version: 5.3.0 Amplify video version: amplify-category-video@3.8.2

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

kylekirkby commented 2 years ago

I seem to have fixed the issue by upgrading amplify-cli to 6.0.1. Hope this helps.