Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWSCLI v2 seems to not work with the auto-fill container definition feature #113

Open
huewood opened this issue Aug 28, 2024 · 2 comments
Open

Comments

@huewood
Copy link

huewood commented Aug 28, 2024

Hey again 👋

We've been using this plugin excessively and was working very well with our use case. Specifically the new feature added in 3.0 with the auto-fill task definition pulling the latest definition and using that as a base.

Recently though, we upgraded our CI machines to use awscli v2 rather than v1. This has caused this plugin to 'successfully' deploy the service, but the buildkite job will hang until it times out at the Update Service command.

Could this be investigated and figured out what's going on under the hood? And if it is a hard awscli v1 requirement, please update the documentation to specify that?

I can assist with providing logs for both cases if needed.

Cheers!

@ryan-keswick
Copy link

I'm getting the same error, I believe its because update-service creates a Pager that expects the user to input q to exit less.

https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-pagination.html#cli-usage-pagination-awspager

export AWS_PAGER=""

Tried setting this but it doesn't work either

@ryan-keswick
Copy link

Put AWS_PAGER in the env.

steps:
  - label: ":ecs: :rocket: Deploying XXXXXX"
    if: pipeline.default_branch == build.branch
    concurrency_group: "XXXXXX-XXX"
    concurrency: 1
    depends_on: build
    env:
      # This needs to be set
      AWS_PAGER: ""
    plugins:
      - ecs-deploy#v3.0.0: # See: https://github.com/buildkite-plugins/ecs-deploy-buildkite-plugin
        cluster: "XXXXXX-XXX"
        service: "XXXXXX-XXX"
        task-family: "XXXXXX-XXX"
        image: "$$IMAGE:$$TAG"
        region: "us-west-2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants