Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand parameter overrides #7876

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
handle tuples from cli parameter-overrides
  • Loading branch information
sigJoe committed Feb 5, 2025
commit abf99263794893a118dd7e86fd4fbc80ea6c27f4
2 changes: 1 addition & 1 deletion samcli/cli/types.py
Original file line number Diff line number Diff line change
@@ -113,7 +113,7 @@ def convert(self, values, param, ctx):
LOG.debug("Input parameters: %s", values)

# Flatten to support YAML anchors & aliases
values = _flatten_list(values) if isinstance(values, (list, CommentedSeq)) else [values,]
values = _flatten_list(values) if isinstance(values, (tuple, list, CommentedSeq)) else (values,)
LOG.debug("Flattened parameters: %s", values)

parameters = {}