aws-amplify / aws-amplify/amplify-cli

Amplify Push - Tokenizer ouput String and not a Map

Open
#14,281 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### How did you install the Amplify CLI?

yarn

### If applicable, what version of Node.js are you using?

16.20.2

### Amplify CLI Version

12.1.1

### 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.

i did no change.

### Describe the bug

When I run amplify push,
I get this error:
**namefunction : function tokenizer
template format error: the value field of every Outputs member must evaluate to a string and not a Map**

Here’s my tokenizer output:

```
"Outputs": {
"Arn": {
"Value": {
"Ref": "LambdaLayerVersion******"
}
}
}

```

after amplify change the file tokenizer and put nothing in the output

### Expected behavior

push the backend with amplify

### Reproduction steps

amplify push

### Project Identifier

_No response_

### Log output

```
# Put your logs below this line

```

### Additional information

_No response_

### Before submitting, please confirm:

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.