Skip to content

Allow samconfig properties like stack_name to apply to all commands #2382

@mhart

Description

@mhart

Description:

EDIT: I had previously misunderstood how samconfig.toml works. I thought by providing the stack name in sam deploy --guided, it should use that stack name for all commands (like sam logs). Turns out that only applies to the sam deploy command specifically.

You currently have to specify stack_name=mystack for each command you want it to apply to – it would be nice if there would be a way for it to apply to all commands.

I also think that sam deploy --guided should apply settings like stack, region, etc to all commands that need them (unless they've already been set)

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: macOS
  2. sam --version: 1.10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions