Closed djsjr closed 2 years ago
Sadly we can't support the Admin UI. I would recommend reaching out to the Amplify team to request that they add a feature for plugins to work w/ the Admin UI.
@renebrandel
Hi @djsjr actually I had the same issue.
Once I enabled AdminUI then I tried amplify video build
and then amplify push
as described at the wiki
and in my surprise 😮 I was able to deploy successfully 😃
I don't know if there is something that Amplify AdminUI team changed in the mid time but know works like a charm 🤗
@katsikas-kostas Hm doesn't seem to work for me. Did you make any changes to the video resource itself? Amplify push says no changes detected when I run these two commands without making any changes.
I did amplify video build, then made a change to another unrelated resource and ran amplify push, but did not fix the UI problem.
@djsjr Well, yes I have modified a Lambda function to suits my needs. Simply by creating a /custom
folder and copying the original function from the /build
folder.
I also added some additional @auth
permissions at the VideoObject
model to match the ones in my others models in the schema. I 'm no exactly sure which of those two things made the difference or maybe it was both of them.
Describe the bug Attempting to deploy the GraphQL schema (leaving alone the VodAsset and video object models) from the Admin UI fails. Everything works however. vodAsset object can be created and retrieved. "Deployment failed 10/13/2021, 3:38:22 PM: Parameters: [secretPemArn, secretPem, publicKey, rPublicName, publicKeyName] must have values."
I tried deleting the amplify video models from the schema, and was able to deploy successfully. I believe deployment from the command line still works.
Secondly, under the content tab, VodAsset title and description appear blank (appearing as "-"). However they are not. They exist when I check DynamoDB and are successfully retrieved from the app.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successful Deploy.
Screenshots n/a
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context n/a