Extend template-parameter definition syntax in serverless configuration file #258
Labels
feature-request
A feature should be added or improved.
module/cli-ext
p2
This is a standard priority issue
queued
Describe the feature
Extend supported syntax for defining "template-parameters" in serverless template configuration JSON files to include object and array syntax.
Use Case
If deploying a serverless template with a lot of parameters, the format "key1=value1;key2=value2;...keyN=valueN" becomes difficult to manage, especially if you are creating multiple configuration to support different environments (ex. Q/A, staging, production).
Proposed Solution
Update AmazonLambdaTools to check the parameter type for template-parameters.
This approach is backward compatible, it won't break usage of existing template files.
Current Format (string)
New Format (object)
New Format (array - SAM compatible)
Other Information
I'll be submitting a PR implementing this change
Acknowledgements
Targeted .NET platform
(All)
CLI extension version
No response
Environment details (OS name and version, etc.)
Any
The text was updated successfully, but these errors were encountered: