Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Step 'Configure AWS Access Key ID' fails in aws-s3@1.0.11 #179

Closed
pieterjandesmedt opened this issue Jul 24, 2019 · 3 comments
Closed

Step 'Configure AWS Access Key ID' fails in aws-s3@1.0.11 #179

pieterjandesmedt opened this issue Jul 24, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@pieterjandesmedt
Copy link

pieterjandesmedt commented Jul 24, 2019

Orb version

circleci/aws-s3@1.0.11

What happened

Orb step Configure AWS Access Key ID fails, even though step Install AWS CLI succeeds.

end of output of Install AWS CLI:

Running cmd: /usr/bin/python virtualenv.py --no-download --python /usr/bin/python /root/.local/lib/aws
Running cmd: /root/.local/lib/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/awscli-bundle/packages/setup setuptools_scm-1.15.7.tar.gz
Running cmd: /root/.local/lib/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/awscli-bundle/packages awscli-1.16.204.tar.gz
You can now run: /root/bin/aws --version
/root/project

output of Configure AWS Access Key ID

#!/bin/bash -eo pipefail
aws configure set aws_access_key_id \
$AWS_ACCESS_KEY_ID \
--profile default

/bin/bash: aws: command not found
Exited with code 127

Config:

version: 2.1
orbs:
  aws-s3: circleci/aws-s3@1.0.11
jobs:
  build:
    docker:
      - image: node:latest
[...]
    steps:
[...]
      - run:
          name: Build
          command: npm run build
      - aws-s3/sync:
          from: dist
          to: 's3://[REDACTED]'
          arguments: '--delete'

Expected behavior

It should find the aws command if the step just before says it's installed correctly.

@iynere
Copy link
Contributor

iynere commented Jul 24, 2019

hi @pieterjandesmedt, can you share a link to a CircleCI job where you saw this behavior?

thank you !

@iynere iynere added the question Further information is requested label Jul 24, 2019
@pieterjandesmedt
Copy link
Author

@iynere
Copy link
Contributor

iynere commented Jul 25, 2019

hmmm, we probably shouldn't be installing the aws-cli to root/bin...... can you file this issue against http://github.com/circleci-public/aws-cli-orb ? @pieterjandesmedt the issue is w/ that orb, not this one. thank you !

@iynere iynere closed this as completed Jul 25, 2019
@iynere iynere added bug Something isn't working and removed question Further information is requested labels Jul 25, 2019
@iynere iynere self-assigned this Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants