amplify-cli: Function Tokenizer failed - The Value field of every Outputs member must evaluate to a String and not a Map.

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

# Put your logs below this line


Additional information

No response

Before submitting, please confirm:

  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I have removed any sensitive information from my code snippets and submission.

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

@JackDurden00 could you email us your amplify folder to amplify-cli@amazon.com? this would enable us in diving deeper into the issue.