Skip to content

[Feature Request] Support --profile in sam validate #396

Closed

Description

@jfuss

Description:

Currently sam validate requires AWS Credentials to be configured. A typically way this is done on the aws cli is passing in a --profile option into the command. We support this behavior for sam local commands (invoke and start-api).

Steps to reproduce the issue:

  1. `sam validate --profile

Observed result:

Error: no such option: --profile

Expected result:

This should run validate with the creds from the profile that is configured.

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

Output of sam --version:

Optional Debug logs:

Add --debug flag to command you are running

Activity

  1. added
    stage/needs-feedback
    type/feature
    and removed
    type/feature
    on May 9, 2018
  2. sander-bol commented on Jun 15, 2018

    @sander-bol
    Contributor

    AWS team: thanks for the contributors/good-first-issue label! Much appreciated :) Not sure if my PR is up to standards, but I'll be happy to receive feedback on it.

  3. added and removed
    stage/needs-feedback
    on Jun 19, 2018
  4. added
    stage/waiting-for-release
    and removed on Aug 7, 2018
  5. jfuss commented on Aug 29, 2018

    @jfuss
    ContributorAuthor

    Closing this as it was released in 0.6.0

  6. removed
    stage/waiting-for-release
    on Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions