Giter Site home page Giter Site logo

Comments (5)

iynere avatar iynere commented on September 20, 2024

good idea, on it, sorry for delay ! @joshunger

from aws-cli-orb.

iynere avatar iynere commented on September 20, 2024

@joshunger check the registry or the source here—there's a new param u can use to skip configuring a default region

from aws-cli-orb.

braian125 avatar braian125 commented on September 20, 2024

S3 commands don't require an AWS region and default to US East so it isn't necessary to set a region however the orb fails with the following error message -

#!/bin/bash -eo pipefail
aws configure set region $AWS_REGION \
--profile default
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: too few arguments
Exited with code 2

Hi @joshunger I have that same error, could you help me to solve it ?, I have consulted the documentation, I have made several attempts and I always get the same

the deploy looks something like this:

deploy:
    docker:
      - image: 'circleci/python:2.7'
    steps:
      - attach_workspace:
          at: /home/circleci
      - aws-s3/sync: #invokes the sync command declared in the s3 orb
          from: ./dist/ci2s3
          to: "s3://${S3_BUCKET}"
          arguments: |
            --acl public-read \
            --cache-control "max-age=86400"
          overwrite: true

from aws-cli-orb.

joshunger avatar joshunger commented on September 20, 2024

@braian125 I'm sorry I don't know

from aws-cli-orb.

braian125 avatar braian125 commented on September 20, 2024

@braian125 I'm sorry I don't know

Do not worry, the error was easily solved, you just have to be careful that the region specified in config.yml file is equal to the one configured in the bucket.

Thank you anyway

from aws-cli-orb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.