-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.Automatically applied to new issues and PRs, indicating they haven't been looked at.type/featureFeature requestFeature request
Description
Describe your idea/feature/enhancement
When running sam deploy
, stack events and error messages are always printed in a fixed columnar table format.
This format is sometimes hard to work with, especially when logs are consumed in CI/CD or redirected to files.
Unlike the AWS CLI --output
option (which controls API response formatting), this request is specifically about the log display style of deployment progress.
Proposal
Add a dedicated option (for example, --log-format
) to control how deployment logs are displayed.
- Default remains the current table format.
- Possible alternatives:
raw
,compact
, or structured formats such as JSON/YAML. - This would not affect the final SAM outputs, only how logs are streamed to the user.
Things to consider
- No change to the SAM Spec is required.
This is purely a CLI usability improvement.
Additional Details
Example:
sam deploy --log-format text
Metadata
Metadata
Assignees
Labels
stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.Automatically applied to new issues and PRs, indicating they haven't been looked at.type/featureFeature requestFeature request