Open michaelbrewer opened 2 years ago
Thanks for reporting the issue. I agree this is not very intuitive to use. We will take it internally and discuss how to fix it.
since we only have 2 types of supported architecture x86_64
and arm64
. May we suggest user key in x86_64
or arm64
or both
?
If both
is selected then we generate an array of 2 elements in the generated yaml template
Issue
I am running
SAM CLI, version 1.36.0
and when I try to input thearchitectures
prompted by Cookiecutter I get anError: Unable to decode to JSON.
error. And this might not be intuitive for a first time userWork around
If I set the input to
{"value":["arm64"]}
forarchitectures
then this works.Or if I pass in
architecture
in the cli and not enter anything inarchitectures
:Possible Solution
architectures
incookiecutter.json
to be a simple string value likeruntime
, this would mean change all of the templates and CLI