Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 31 2019 22:12
    stubblyhead commented #3328
  • Jan 31 2019 21:58
    codecov-io commented #3899
  • Jan 31 2019 21:57
    codecov-io commented #3899
  • Jan 31 2019 21:57

    stealthycoin on develop

    chore: Use OrderedDict in yamlh… Import from ordereddict and sim… Support parsing yaml merge tags and 2 more (compare)

  • Jan 31 2019 21:57
    stealthycoin closed #3899
  • Jan 31 2019 21:56
    codecov-io commented #3899
  • Jan 31 2019 21:56
    codecov-io commented #3899
  • Jan 31 2019 21:56
    codecov-io commented #3899
  • Jan 31 2019 21:55
    codecov-io commented #3899
  • Jan 31 2019 21:45
    shwetaskatdare synchronize #3899
  • Jan 31 2019 21:45
    codecov-io commented #3899
  • Jan 31 2019 20:40
    codecov-io commented #3899
  • Jan 31 2019 20:40
    codecov-io commented #3899
  • Jan 31 2019 20:39
    codecov-io commented #3899
  • Jan 31 2019 20:39
    codecov-io commented #3899
  • Jan 31 2019 20:38
    codecov-io commented #3899
  • Jan 31 2019 20:27
    shwetaskatdare opened #3899
  • Jan 31 2019 19:20
    vvasc starred aws/aws-cli
  • Jan 31 2019 18:29
    klaytaybai unlabeled #3892
  • Jan 31 2019 18:29
    klaytaybai labeled #3892
Screen Shot 2020-02-20 at 7.46.59 AM.png
:point_up: this is what happens when i try to run my builds now. I don't know why this is a sudden development, and I haven't been able to figure out why this started happening yet.
Benjamin Kozuch

my requirement.txt has b

and Im getting this message:

awscli 1.17.9 has requirement botocore==1.14.9, but you'll have botocore 1.14.17 which is incompatible.
pendulum 1.4.4 has requirement tzlocal<,>=, but you'll have tzlocal 2.0.0 which is incompatible.

any idea what I need to change?

Patrick Sauerborn

Hey there, I've got a problem that's driving me nuts.
I'm trying to set my configuration for the aws cli but it returns the error "too few arguments".

Specifically I'm talking about the following command:
aws configure set aws_access_key_id $live_id --profile default

The culprit is the damn dollar sign, which leads to the aws cli ignoring everything after it.

James Saryerwinnie
Just to double check, are you use that $live_id is set? What happens if you run echo aws configure set aws_access_key_id $live_id --profile default?
John Bozarov
Hi everyone I am trying to install AWS EC2 CLI but getting these errors
this is the error I am getting on mac terminal:
BUILD FAILED (OS X 10.15.3 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/0v/b489c3xs7tj_tghvkzf075780000gn/T/python-build.20200311001852.70728
Results logged to /var/folders/0v/b489c3xs7tj_tghvkzf075780000gn/T/python-build.20200311001852.70728.log
Last 10 log lines:
File "/private/var/folders/0v/b489c3xs7tjtghvkzf075780000gn/T/python-build.20200311001852.70728/Python-3.7.2/Lib/ensurepip/main.py", line 5, in <module>
File "/private/var/folders/0v/b489c3xs7tjtghvkzf075780000gn/T/python-build.20200311001852.70728/Python-3.7.2/Lib/ensurepip/init.py", line 204, in main
File "/private/var/folders/0v/b489c3xs7tj_tghvkzf075780000gn/T/python-build.20200311001852.70728/Python-3.7.2/Lib/ensurepip/init.py", line 117, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/private/var/folders/0v/b489c3xs7tj_tghvkzf075780000gn/T/python-build.20200311001852.70728/Python-3.7.2/Lib/ensurepip/
init.py", line 27, in _run_pip
import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
make: * [install] Error 1
Exiting due to failure
My mac: Catalina version: 10.15.3
what I did: I installed Xcode openssl zlib readline and homebrew
but still getting same code
can anyone help me ?
Zachary Smith
hi all. i am able to run aws configure list and see my s3 buckets, and can run any aws command in my ec2 server via CL. but when i put aws commands into a bash file and execute the file, i get "Unable to located credentials". What am I missing here?
Google results are showing that when I run the script it isn't locating the correct home dir. I'm not understanding how to circumvent this.
hey guys, I am unable to list objects in my bucket on s3 using awscli. Does anyone has idea why? I am using aws s3 ls
It is happening to me today, yesterday it worked fine
got the solution sorry for bothering
Eric Peters
When running aws ecr --region $tgtregion create-repository --repository-name $tgtnamespace$repo in a shell script, is there a way to avoid getting the "less" prompt that includes the response of the command?

Hallo. I am trying to create a deployment pipeline for Gitlab-CI on a react project. The build is working fine and I use artifacts to store the dist folder from my yarn build command. This is working fine as well.

The issue is regarding my deployment with command: aws s3 sync dist/'bucket-name'.

Expected: "Done in x seconds"

error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Running after_script 00:01 Uploading artifacts for failed job 00:01 ERROR: Job failed: exit code 1

The files seem to have been uploaded correctly to the S3 bucket, however I do not know why I get an error on the deployment job.
When I run the aws s3 sync dist/'bucket-name'locally everything works correctly.

Yusuf Kanchwala

Hello everyone,

I am trying to fetch a secret stored on AWS SSM using aws-cli command aws ssm get-parameter --name test-key.

This I am trying to execute inside a ECS fargate container's entrypoint script. I am getting the following error:
An error occurred (ParameterNotFound) when calling the GetParameter operation:

On the contrary, when I log into the ECS container and execute the same command on the shell command line, it works fine.

I have explicitly exported the AWS credentials and also given the necessary IAM roles for accessing SSM.

Any ideas? Any help would be really appreciated.
Thanks :)

Ronique Ricketts

I added an API to my react app but when I run the code I got a Network Error when I run the below code

const apiName = "sampleApiName";
const path = "/addSomething";
const myInit = {
headers: {        
      'Content-Type': 'application/json',
      "Authorization": `Bearer ${(await Auth.currentSession().then(data => data.idToken.jwtToken))}`  
      ).then(result => console.log(result))
      .catch(err => console.log(err))

I tried running the code on my API Gateway and I am getting an error "message": "Internal server error"

Buttetsu Batou
does anyone know if is possible to delete a WorkDocs site via awscli/api or anything aside from the management console?
Can we cross compile awscli for arm?
Benn Bollay
Hi folks - I'm trying to use the --generate-cli-skeleton output command for the es create-elasticsearch-domain and all of the examples I can find, including the one in the examples section of the repo, generate this error: Invalid length for parameter DomainStatus.CognitoOptions.RoleArn, value: 7, valid range: 20-inf Ideas? Thoughts?
Hi, has anyone had an issue with timestamps "sam build". My .aws-build folder contains files with a 1985 timestamp. The original files have today's date
Ben Dean
does anyone know how aws sso login determines what browser to use? I'm running this in an ssh session with no X session and it's trying to use some text-based browser w3m, and it's terrible. I'd like a way to tell it to do nothing and just show me the link
Bishwo Gurung
I've set up my frontend ui to be in S3 bucket with CloudFront in front. But I'm getting a 403 when it's trying to interact with an EC2 instance. How do I let an EC2 instance to allow inbound traffic from S3?
Ronique Ricketts
If I a pushing a Nodejs Server to ECS - Fargate do I need to put Nginx in front of each Nodejs server or will Fargate handle all that?
Gordon Grant


I'm using HomeBrew on macOS catalina (10.15.5). awscli was working fine earlier today using the HomeBrew package (2.0.26).

I updated the HomeBrew package to 2.0.28 today and now any TAB completion of sub-commands fails with:

Traceback (most recent call last):
  File "/usr/local/bin/aws_completer", line 36, in <module>
  File "/usr/local/bin/aws_completer", line 28, in main
    autocomplete(command_line, command_index)
  File "/usr/local/Cellar/awscli/2.0.28/libexec/lib/python3.8/site-packages/awscli/autocomplete/main.py", line 61, in autocomplete
    results = completer.autocomplete(command_line, position)
  File "/usr/local/Cellar/awscli/2.0.28/libexec/lib/python3.8/site-packages/awscli/autocomplete/completer.py", line 42, in autocomplete
    parsed = self._parser.parse(command_line, index)
  File "/usr/local/Cellar/awscli/2.0.28/libexec/lib/python3.8/site-packages/awscli/autocomplete/parser.py", line 145, in parse
    global_args = self._index.arg_names(lineage=[], command_name='aws')
  File "/usr/local/Cellar/awscli/2.0.28/libexec/lib/python3.8/site-packages/awscli/autocomplete/local/model.py", line 104, in arg_names
    results = db.execute(self._ARG_NAME_QUERY,
  File "/usr/local/Cellar/awscli/2.0.28/libexec/lib/python3.8/site-packages/awscli/autocomplete/db.py", line 33, in execute
    return self._connection.execute(query, kwargs)
sqlite3.OperationalError: no such table: param_table

I get the same trace another 2 times, followed by a hanging awscli.

I can't see what is wrong with my install or user data. Any help greatly appreciated.
Thanks, Gordon.

Gordon Grant


I'm using HomeBrew on macOS catalina (10.15.5). awscli was working fine earlier today using the HomeBrew package (2.0.26).

I updated the HomeBrew package to 2.0.28 today and now any TAB completion of sub-commands fails with:

Found a workaround for this : https://github.com/aws/aws-cli/issues/5338#issuecomment-653683721

Philip Abel
Hi, anyone here knows how I can get AWS CLI to parse error responses as JSON instead of strings for my JAVA SDK? An example, I would like a response that's returned as this: { "Message": "Resource: with id = 47c67090-19d4-4046-8baa-0018466e2ee9 does not exist", "ResourceId": "47c67090-19d4-4046-8baa-0018466e2ee9", "ResourceType": “OBJECT" } instead of An error occurred (ResourceNotFoundException) when calling the CreateRoute operation: Resource: APPLICATION with id = 47c67090-19d4-4046-8baa-0018466e2ee1 does not exist
The CLI doesn't seem to parse the full body of the error response returned from lambda when it unmarshalls to a custom exception I have defined and I am curious about how anyone here as solved a similar problem in the padt
Jonathan Sarry
Hey guys I need help using the cli in Windows 10. I've been trying to fetch params from parameter store using the cli aws ssm get-parameter but I keep getting an error An error occurred (ParameterNotFound) when calling the GetParameter operation:
Other cli commands work just fine. So I don't think its an issue with authentication. The parameter exists and I've doubel checked the path. Any other suggestions what I could try to fix this?
Jonathan Sarry
So using the debug flag I've traced the error. Windows or git bash is turning the name into a file path. aws ssm get-parameter --region eu-west-1 --profile myprofile --with-decr yption --name $TEMP --debug 2020-07-07 11:36:48,997 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.0.27 Python/3.7.7 Windows/10 botocore/2.0.0dev31 2020-07-07 11:36:48,998 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['ssm', 'get-parameter', '--region', 'eu-west-1', '--profile', 'myprofile ', '--with-decryption', '--name', 'C:/Program Files/Git/param/path/', '--debug']
Harshavardhan Surisetty

The Alan Hacks Team and Hackathon Hackers are collaborating to bring you THE WORLD'S FIRST HACKATHON FOR VOICE-ENABLED APPLICATIONS

On the 1 - 15th of July, innovators from all over the world will come together (virtually) to innovate and create impactful projects! Competitors are challenged to build softwares to tackle the world's most pressing issues using voice interaction.

Participants will stand a chance to receive monetary prizes (US$900+ prize pool).

Apart from the competition aspect, Alan Ai inc will also host Tech and Social Impact workshops and webinars.

Have friends who are also passionate about voice technology? Invite them to join THE WORLD'S FIRST HACKATHON too, and the one who invites the most qualifying friends will receive goodies.

So what are you waiting for? Sign up now at https://docs.google.com/forms/d/e/1FAIpQLSfz3I2MbBJ2h6ozNAUU9MGutHDy78ZCJKiseRz-R2TOr0LuFQ/viewform?usp=send_form and learn more at https://hackathon.alan.app/

Venkatesh Meruva
Hi All,
Any expert is there in AWS CLI?
I'm trying to get snapshot from the instance volume
Amritpal Singh
Hi, I am configuring bitbucket pipelines and using atlassian/pipelines-awscli image for the communication with aws ECR. In atlassian/pipelines-awscli image we have a docker command but in my project, I have docker-compose.yml when I docker-compose -f docker-compose.yml build I am getting bash: docker-compose: command not found error. Any idea how to install docker-compose? I tried with apt-get but getting command not found error.
Harry Moreno
Is there a way to configure the cli with a local file, in the same dir the cli is running from?
James Saryerwinnie
you couuld export AWS_CONFIG_FILE
Harry Moreno
@jamesls what do you mean exactly?
James Saryerwinnie
Something like: AWS_CONFIG_FILE=./my-config aws s3 asdfasdf
Harry Moreno
doesn't seem well supported. I think I'll prefer a config file in a ~ dir
James Saryerwinnie
What do you mean by not well supported?
Harry Moreno
well supported imo means the tool will look there
since it does not I'll try to use one of the well supported (documented) approaches
James Saryerwinnie
Oh I see. The AWS_CONFIG_FILE/AWS_SHARED_CREDENTIALS_FILE env var is documented (I wrote the docs/code for it😇) but I don't see people overriding it that often so it may not be the best idea if you don't need to change the location.
Venkatesh Meruva

Hi Team
I'm using below command to create Snapshot as below:
aws ec2 create-snapshot --volume-id $volumeid --description 'dpvolume snapshot'

I need to add date & time in description content
is it possible?

Venkatesh Meruva
Hi All,
Is there any way to configure AWS region only using shell script?

Just installed aws-cli on WSL ubuntu using these commands
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

ran "aws --version" and response is => bash: /home/qbrt/.local/bin/aws: No such file or directory

any suggestions? is it a pathing issue?


heh..never mind

I started a new ubuntu session and "aws" is working.. it was a pathing issue, just had to restart session to pick up the changes.

Venkatesh Meruva
Hi All,
I need to delete snaphot using aws cli & using filters to delete one day old snapshot
Please help me on the same
Hi guys.. is thr any command to get all the cloudtrail event names ? not specific to the log but all the eventnames ?