aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

Feature request: Add changeset arns/ids to `sam list`

Open mew1033 opened this issue 1 year ago • 1 comments

Describe your idea/feature/enhancement

In CI systems, I want to run sam deploy --no-execute-changeset, then immediately get that changeset id to do things with it. Right now I'm stuck parsing the stdout of sam deploy, which is brittle. I'd like a way to get that changeset id in a machine readable format. Ideally I'll get the changeset id/arn straight from the deploy command, but it seems like the desire has been to move to sam list. If that's true, then I'd like to see a way to use sam list to get the changeset id from a deploy I just did.

Relates to #3729

mew1033 avatar Feb 23 '24 21:02 mew1033

Thanks for creating this feature request. I'll bring this up to the team to see if this is something that makes sense to add to sam list, and to see if they have anything they'd like to mention.

Its possible to use the AWS CLI to get this information in a way that isn't dependent on reading formatted console output as a workaround for something that isn't brittle.

lucashuy avatar Feb 24 '24 00:02 lucashuy