Skip to content

Feature request: Add --resolve-image-repos support for package command #3888

@mluypaert

Description

@mluypaert

Description

Currently sam deploy supports the --resolve-image-repos argument to automatically create and delete ECR repositories as needed, which works great! However, the sam package command does not seem to support this argument yet, as when I try to run sam package --resolve-s3 --resolve-image-repos it throws me

Usage: sam package [OPTIONS]
Try 'sam package -h' for help.

Error: no such option: --resolve-image-repos

but then when I leave away the --resolve-image-repos argument, it throws me:

Usage: sam package [OPTIONS]
Try 'sam package -h' for help.

Error: Missing option '--image-repository', '--image-repositories', or '--resolve-image-repos'

Proposal

Please add support for the --resolve-image-repos argument to the package command.

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