Feature request: Allow specification of parameters that should apply to all (or multiple) environments in AWS SAM CLI configuration file (samconfig.toml) #5492
Labels
area/sam-config
contributors/welcome
Contributors are welcome to work on this
type/feature
Feature request
Describe your idea/feature/enhancement
Allow specification of parameters that should apply to all (or multiple) environments in AWS SAM CLI configuration file (samconfig.toml).
This would be similar to the
global
keyword introduced in response to issue #2382, which allowed specifying parameters that should apply to all sam commands.Proposal
Perhaps the simplest approach would be to introduce another key-character or keyword to use in the position where an environment name is specified - one that indicates the stanza should apply to all environments. I personally like
*
, but I it might also make sense to reuse the sameglobal
keyword.Examples ...
A more complex, but also more powerful approach could be to allow the use of a regular expression or a glob expression, such that one could specify some, but not necessarily all environments to which a stanza should apply.
Examples ...
Additional Details
In the last comment on issue #2382, @dunika seemed to be asking for this feature, and his comment received several 👍s, but there are otherwise no responses.
The text was updated successfully, but these errors were encountered: