aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

`tags` in samconfig.toml show error with JSON schema store (samcli.json)

Open mirumirumi opened this issue 11 months ago • 1 comments

Hi!

I use "Even Better TOML" vscode extension, and my samconfig.toml recieves an error like this: image

The AWS documentation says this is the correct way to write it: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-config.html

The schema is set correctly: image

Any ideas?

mirumirumi avatar Mar 18 '24 13:03 mirumirumi

Thanks @mirumirumi. Seems like this field can be a string or array which we need to handle in our schema generation. I will mark this down as a bug and we will prioritize a fix.

mildaniel avatar Mar 20 '24 23:03 mildaniel

Patch is released in v1.119.0. Closing

github-actions[bot] avatar Jun 13 '24 23:06 github-actions[bot]

👍

mirumirumi avatar Jun 14 '24 01:06 mirumirumi