Skip to content

Enhancement: AWS CLI #12

@Steph0

Description

@Steph0

Describe feature

Hey there. First thanks for all the great work you do.

I stumbled upong something while using act. I am using the docker image nektos/act-environments-ubuntu:18.04 which really helps testing my workflows.
But the AWS CLI included in this env is aws-cli/1.18.2 Python/2.7.17 Linux/5.8.0-50-generic botocore/1.15.2 while the one used by github has one major more: AWS CLI version aws-cli/2.1.38 Python/3.8.8 Linux/5.4.0-1046-azure exe/x86_64.ubuntu.20 prompt/off.

This prevent testing AWS execution like

aws lambda invoke \
                --cli-binary-format raw-in-base64-out \
                --function-name ${function} \
                --payload "${lambda_payload}" \
                response.json

In ACT the --cli-binary-format raw-in-base64-out is rejected, while if you don't put this argument, your Github Actions fails because in AWS CLI 2+ it is necessary (defaults to base64).

Thought it would be nice to raise an enhancement request here about it.

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