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

Added better env switching #272

Closed wizage closed 3 years ago

wizage commented 3 years ago

Issue #, if available: n/a

Description of changes: Adds better support for environments and switching with CloudFront enabled

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

wizage commented 3 years ago

Work in progress. Need to update tests and test migration path for users on older version of Amplify Video.

And fix lint 😞

wizage commented 3 years ago

@nathanagez If you get a chance can you look over this code. It is a major change to how we handle env swapping. Also fixed up some tests with this change.