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
hello, is there some documentation about the telemetry information aws-cli collects?
Randall Kahler
@hrmnjt there isn't currently anything like that. you could submit an issue on the project, but if you're just listing info like that you can just as easily cat ~/.aws/config
@ulziibay are you talking about usage info? the AWS CLI is really just a fancy wrapper for the boto3 library - as far as I'm aware AWS does not collect usage data at all, beyond what might be collected by general API use. If you're looking for your own info, you can always reference cloudtrail
Todd B. Meder
Hello Does anybody have idea to implement authentication using aws + web Socket
Scott White
The AWS documentation on how to get the latest AMI is inaccurate for Amazon Linux 2
aws ec2 describe-images --owners amazon --filters 'Name=name,Values=amzn2-ami-hvm-2.0.????????-x86_64-gp2' 'Name=state,Values=available' --query 'reverse(sort_by(Images, &CreationDate))[:1].ImageId' --output text
it should return ami-0b69ea66ff7391e80 however the script above returns ami-0b898040803850657 instead
Callum Denby
SSM StartSession returns a stream url, is there any documentation on this websocket api?
It returns a TokenValue but doesn't have any documentation on using it
Marius Morar
Hello, can I move an aws instance from one region to another without creating it again from scratch?
Lionel T.

Hello, I have an issue with "aws cloudformation deploy"
I used it to create a stack that use a parameter named "MyInstanceType" with a string value t3.small"; when I deploy the stack, everything works fine.

When I change the param's default value with one from SSM parameter store "/MyInstanceType", deploying the stack fails with the following errors :

An error occurred (ValidationError) when calling the CreateChangeSet operation: Unable to fetch parameters ... from parameter store for this account

Any idea ?

Mark Townsend
Hello, Are you using semver for your versioning? Thanks.
Hi, Is there any way to find the Volume detached date and time using aws cli, if not can we add this feature in the new v2.
@all How to terminate a game session on game lift using AWS cli?
Darren Paxton
hi all, tried building the v2 cli using the guide by pulling the v2 repository branch and running the pip install commands but getting a problem with s3transfer compatibility. anyone else seen this?
Ronique Ricketts
I am trying to get a Microservice up and running in ECS but I have a question. Does each service get its own task definition in ECS?
Eric Millinder
@dspaxton I've been struggling with that today. "ERROR: s3transfer 0.3.0 has requirement botocore<2.0.0,>=1.12.36, but you'll have botocore 2.0.0.dev2 which is incompatible." Then when running virtualenv/bin/aws I get 'Requirement.parse('botocore<2.0.0,>=1.12.36'), {'s3transfer'})'. If I run the aws that is in the project root (aws-cli/bin/aws) it runs without checking the requirements.
ha! No one has posted in here lately.
Evan Nadeau
Is anyone aware of a way to find the permitted Filter Keys for any one command? In my case, I'm trying to find the filter Keys for SSM's describe-maintenance-window-schedule
Any idea why I cant find certain aws commands in the cli? Running Amazon linux 2 AMI with aws-cli version 1.16.300 (For reference, trying to use aws efs create-access-point on govcloud) Is it because I need aws-cli version 2?
Satya Kuppam
I made some code changes to the aws-cli. What test suites are available and how do I run them?
Cuong Nguyen
hi, I'm using STS to issue temp access keys for users, but can't find a way to force remove or expire an access key. any idea to do that? currently I can only see there is a button to remove all sessions, I would like to remove determined session only
Hey all, going to attempt to add arm builds to V2. Looks like it should be configurable with the pyinstaller config. Any tips on helping my patch get upstreamed? It's my first time contribution.
Building the awsv2 binary on arm has been such a pain in the neck. I see why nobodies done it. haha
It builds fine - user error.
Hope there's some official builds soon

Any tips for installing on MacOSX Sierra? Python versions are as follows:

$python3 --version
Python 3.7.1
$python --version
Python 2.7.10

When I run aws configure I get the following message:

$aws configure
Traceback (most recent call last):
  File "/usr/local/bin/aws", line 4, in <module>
    __import__('pkg_resources').run_script('awscli==1.18.2', 'aws')
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 612, in _build_master
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 918, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: colorama<0.4.4,>=0.2.5
$pip3 install colorama
Requirement already satisfied: colorama in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/colorama-0.4.3-py3.7.egg (0.4.3)
OK, got it working, this gist pointed me in the right direction: https://github.com/rajivkanaujia/alphaworks/wiki/Installing-AWS-CLI-via-pip3-and-python3
Does the vli-v2 support mfa?
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?