-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function Tokenizer failed - The Value field of every Outputs member must evaluate to a String and not a Map. #13657
Comments
Hey @JackDurden00 👋 thanks for raising this! By chance is this Function supported by a Lambda Layer? This seems related to #12076 |
Hey josefaidt, i saw that but its not a function that i created like this issue(12076), its the function tokenizer. |
Hey @JackDurden00 thanks for clarifying! What stack is this coming from? Do you see any additional logs with |
i have this with amplify push: The following resources failed to deploy: 🛑 Resource is not in the state stackUpdateComplete debug mode dont give me more info :( |
Hey @JackDurden00, could you run |
There was a error with the sending diagnose: amplify diagnose --send-report ✅ Report saved: /var/folders/tx/0bp****************/T/mvl/report-1711120840727.zip ⠙ Sending zip |
@JackDurden00 could you email us your amplify folder to |
OK, i sent it. |
Hey @JackDurden00, thank you for information. On diving into the diagnose report, did notice the |
Hey @ykethan, sorry for the delay. |
@JackDurden00 we can trigger an update on the Lambda layer by adding a package in the |
Ah ok, but when i did 'amplify status', the function tokenizer is already 'update'. and i dont knwo why sometimes this function is in update because i change nothing. |
I encountered this error some months ago, but I recreated a new environment with Amplify. However, I'm unable to do it again now because the database is very large. |
@JackDurden00 yes if run a push with a new package do observe a error? |
"Hey @ykethan, I keep encountering the same error whenever I update the package.json for the 'tokenizer' function. If I decide to remove the function, should I run 'amplify push' afterward, or should I directly run the 'add function' command?" |
@JackDurden00 either is fine. you can run push with |
Closing the issue due to inactivity. Do reach out to us if you are still experiencing this issue |
This issue is now closed. Comments on closed issues are hard for our team to see. |
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
16.20
Amplify CLI Version
12.4.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No i nerver did a manuel changes on the function tokenizer.
Describe the bug
i did amplify push there are 4 days. (i add a variable on my graph)
and now i try to add another variable but when i use amplify push i have this error:
The following resources failed to deploy:
Resource Name: functiontokenizer (AWS::CloudFormation::Stack)
Event Type: update
Reason: Template format error: The Value field of every Outputs member must evaluate to a String and not a Map.
URL: https://console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/arn%3Aaws%3Acloudformation%3***********************************/events
so i try to just deleted my change (remove my change on my graph) and use amplify push again and i have the same error.
i dont understand because this function is supposed to be managed by Amplify.....
Expected behavior
i want to do the comand 'amplify push' with no error
Reproduction steps
amplify push:
The following resources failed to deploy:
Resource Name: functiontokenizer (AWS::CloudFormation::Stack)
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: