Skip to content

cloudformation package --parameter-overrides #1441

@jeff1evesque

Description

@jeff1evesque

The following pattern is supported during deploy:

    aws2 cloudformation deploy \
        --template-file "$TEMPLATE_FILE_PACKAGE" \
        --stack-name "$BUCKET_NAME" \
        --parameter-overrides \
            AccessKey="$ACCESS_KEY" \
            SecretKey="$SECRET_KEY" \
        --no-fail-on-empty-changeset \
        --capabilities \
            CAPABILITY_IAM \
            CAPABILITY_NAMED_IAM \
            CAPABILITY_AUTO_EXPAND

However, there is no equivalent for the step prior. Specifically, I haven't found an option equivalent to --parameter-overrides to be used during the package step:

    aws2 cloudformation package \
        --template-file "${CWD}/${TEMPLATE_FILE}" \
        --s3-bucket "$BUCKET_NAME" \
        --output-template-file "$TEMPLATE_FILE_PACKAGE"

Is there something I likely overlooked? There was a similar issue that I was hoping would mention this, instead was closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions