You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
Installed amplify-video with yarn global add amplify-category-video in a Create React App.
To Reproduce
Steps to reproduce the behavior:
Run amplify video add
Choose Video-on-Demand
Choose Default HLS+DASH Adaptive Bitrate
n for notifications
y for production environment
y for signed URLs
n for GraphQL
It will say All resources built. Then I enter amplify push.
An error is returned:
Following resources failed
Resource Name: rCloudFrontPublicKeystagingatqghjwg (AWS::CloudFront::PublicKey)
Event Type: create
Reason: Resource handler returned message: "Access denied for operation 'AWS::CloudFront::PublicKey'."
Expected behavior
Expect the command to succeed without an error.
Desktop (please complete the following information):
OS: [macOS 11.6.4]
Version [amplify CLI 7.6.25]
Additional context
If I try without requesting signed URLs, it will succeed*.
*Up until I wrote this post, this would also fail with an error message. What I ended up doing is taking the policy linked here #175 for Video on Demand, and adding it as an inline-policy to the user pool referenced in the error message, in IAM --> Roles . After I did that and ranamplify push again, and I was able to create the VOD. I'm still not sure why it started wroking, but the only thing I can think of is I upgraded to the latest version of the Amplify CLI with amplify upgrade.
The text was updated successfully, but these errors were encountered:
prajendra-is
changed the title
Installing amplify video fails because of permissions (even with an IAM user with Admin access)
Adding amplify video with a Signed URL option fails because of permissions (even with an IAM user with Admin access)
Mar 22, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Adding amplify video with
amplify video add
fails because of a permissions errorPreconditions:
`. I have an IAM account with Admin Access:
amplify-video
withyarn global add amplify-category-video
in a Create React App.To Reproduce
Steps to reproduce the behavior:
amplify video add
Video-on-Demand
Default HLS+DASH Adaptive Bitrate
n
for notificationsy
for production environmenty
for signed URLsn
for GraphQLAll resources built
. Then I enteramplify push
.Expected behavior
Expect the command to succeed without an error.
Desktop (please complete the following information):
Additional context
If I try without requesting signed URLs, it will succeed*.
*Up until I wrote this post, this would also fail with an error message. What I ended up doing is taking the policy linked here #175 for
Video on Demand
, and adding it as an inline-policy to the user pool referenced in the error message, inIAM --> Roles
. After I did that and ranamplify push
again, and I was able to create the VOD. I'm still not sure why it started wroking, but the only thing I can think of is I upgraded to the latest version of the Amplify CLI withamplify upgrade
.The text was updated successfully, but these errors were encountered: