Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 22:12
    stubblyhead commented #3328
  • Jan 31 21:58
    codecov-io commented #3899
  • Jan 31 21:57
    codecov-io commented #3899
  • Jan 31 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 21:57
    stealthycoin closed #3899
  • Jan 31 21:56
    codecov-io commented #3899
  • Jan 31 21:56
    codecov-io commented #3899
  • Jan 31 21:56
    codecov-io commented #3899
  • Jan 31 21:55
    codecov-io commented #3899
  • Jan 31 21:45
    shwetaskatdare synchronize #3899
  • Jan 31 21:45
    codecov-io commented #3899
  • Jan 31 20:40
    codecov-io commented #3899
  • Jan 31 20:40
    codecov-io commented #3899
  • Jan 31 20:39
    codecov-io commented #3899
  • Jan 31 20:39
    codecov-io commented #3899
  • Jan 31 20:38
    codecov-io commented #3899
  • Jan 31 20:27
    shwetaskatdare opened #3899
  • Jan 31 19:20
    vvasc starred aws/aws-cli
  • Jan 31 18:29
    klaytaybai unlabeled #3892
  • Jan 31 18:29
    klaytaybai labeled #3892
Joost Naaijen
@eterjoost
Not sure if this is the right place, but I can't find away to set custom oauth scopes via aws-cli. The docs only mention the default ones. Where can I find if this is possible?
Alexander janet
@santaclauze
Hey, is there a difference between awscli and awsobile? they seem to ahve the same funcitonallities.
alphabeta
@gt-28

Hello Everyone,
I have a question with regards to awscli installation on centos7 box.

I did installed using pip as a root user and the command i used is --> pip3 install awscli. it installed in /usr/bin but with 600 permissions

so i did manually changed the permissions to 755 to make this available for all the users in the box
it did worked as a root user but when i go to different user am getting module error
aws --version
Traceback (most recent call last):
  File "/usr/bin/aws", line 19, in <module>
    import awscli.clidriver
ImportError: No module named 'awscli.clidriver'
can someone help me in fixing this issue please ?
andrew bernard
@drexler
@gt-28 try uninstalling it and reinstalling with sudo
alphabeta
@gt-28
yeah i did that
i just now figured out, its with umask value
i did changed the umask value to 0022 and then re-installed and it did worked well
thank you @drexler
Levi Wilson
@leviwilson

I'm trying to run the aws rds add-role-to-db-cluster

Here is what I get when I run the command:

$ aws rds add-role-to-db-cluster --db-cluster-identifier arn:aws:rds:us-east-1:<account>:cluster:<arn> --role-arn arn:aws:iam::<account>:role/<arn>


An error occurred (InvalidParameterValue) when calling the AddRoleToDBCluster operation: The feature-name parameter must be provided with the current operation for the Aurora (PostgreSQL) engine.
💥

When I add the --feature-name to it, I get the following:

$ aws rds add-role-to-db-cluster --db-cluster-identifier arn:aws:rds:us-east-1:<account>:cluster:<arn> --role-arn arn:aws:iam::<account>:role/<arn> --feature-name s3Import

An error occurred (InvalidParameterValue) when calling the AddRoleToDBCluster operation: The feature name s3Import is not valid for the Aurora PostgreSQL engine.
💥
$ aws --version
aws-cli/1.16.192 Python/3.7.2 Darwin/18.5.0 botocore/1.12.182
👍
I'd add this through the AWS Console, but the "Manage IAM Roles" for my RDS cluster doesn't appear where the documentation says it is
Levi Wilson
@leviwilson
Actually, I think I might know the problem. I'm using Aurora which only goes up to version 10 of PostgresSQL but the s3 import apparently requires version 11
Alex Kohler
@akohler_gitlab
Hey guys, does the AWS CLI report 503 errors (in particular, for aws s3 cp) , or does it automatically retry?
fxrcode
@fxrcode
hello, wondering how to filter tags in servicecatalog's search-provisioned-products? Thx
brb111
@brb111
Good afternoon, I am trying to install AWS CLI on a Windows XP3 machine that is locked down and behind multiple levels of access controls. When we use the MSI, I think it is installing a version of the Python Runtime that isn't supported on XP3. I tried downloading different version and running python setup.py, but it looks like it wants to download files to install from the Internet, which it cannot do due to security controls. It's only allowed to talk to AWS S3 Servers. What are my options to get this installed?
Sorry, XP SP3 :)
tcassey
@tcassey
hi, does anyone know if it is possible to create a batch compute environment via the cli with a VPC configured? That setting is not mentioned in the documentation. Looks like everything else in the documentation matches up with what you can set in the web console but that particular setting is missing and unfortunately it is something I need to configure.
Jon Little
@JonLittleIT
is there a way to describe assets then count them with another command or would you need to use python for that?
anshul0915
@anshul0915
Hi All,
I am trying to add application specific stickyness session to Application load balancer but ALB only support lb_cookies as stickeness type is there way to achieve this . we are using path based routing to to different target group running as ecs container . AWSELB change every time if we hit to each application
Callum Denby
@CallumDenby
Hey guys, pretty big issue I've encountered just now, any command I execute with aws-cli throws the same error, even aws configure
$ aws configure

Credential named assume-role-with-web-identity not found.
I can't find any mention of that online and not sure why it's suddenly started happening
$ aws --version
aws-cli/1.16.230 Python/3.7.4 Linux/5.2.11-arch1-1-ARCH botocore/1.12.180
Marius Morar
@marius02
Hello
Any idea why I'm receiving this warning when trying to create an instance
2019-09-04_16h57_57.png
Randall Kahler
@angrychimp
you're probably missing the ec2:DescribeInstanceStatus permission on your role
@CallumDenby maybe double check your ~/.aws/config file to make sure there's not something wrong with the default profile, or just move that out of the way to troubleshoot. It's possible the default profile you have set references a role that no longer exists in the target account
Marius Morar
@marius02
@angrychimp it's strange because I have a script that generate multiple instances and let's say from 20 instances created 4 or 5 of them have that warning
and if I create less instances (5 to 10) its working, if I create more than 10 I receive that
Randall Kahler
@angrychimp

@marius02 ah, that's a bit different then. if you're not getting this error in the console, then what I'm guessing is happening is that you're unable to describe instances that aren't yet initializing. if I recall there's a limit to the number of instances you can spin up at once - you might be getting that error for instances that haven't actually been provisioned yet.

You can check this by using aws ec2 describe-instances --instance-id <id> --query Reservations[].Instances[].State. If your request to create the instance was successful (and perhaps double check that it was), the given state should let you know what's going on. Once the instance is listed as "starting" you should be able to query for its status.

Harman
@hrmnjt

Hello all!
Wondering if I can list multiple profiles on awscli

What it does:

aws configure list

#       Name                    Value             Type    Location
#       ----                    -----             ----    --------
#    profile                default               None    None
# access_key                <not set>             None    None
# secret_key                <not set>             None    None
#     region                eu-west-1      config-file    ~/.aws/config

What I want it to do:

aws configure list --all
#       Name                    Value             Type    Location
#       ----                    -----             ----    --------
#    profile                default               None    None
# access_key                <not set>             None    None
# secret_key                <not set>             None    None
#     region                eu-west-1      config-file    ~/.aws/config

#       Name                    Value             Type    Location
#       ----                    -----             ----    --------
#    profile                profile1              None    None
# access_key                <not set>             None    None
# secret_key                <not set>             None    None
#     region                eu-west-1      config-file    ~/.aws/config

#       Name                    Value             Type    Location
#       ----                    -----             ----    --------
#    profile                profile1              None    None
# access_key                <not set>             None    None
# secret_key                <not set>             None    None
#     region                eu-west-1      config-file    ~/.aws/config
Ulzii
@ulziibay
hello, is there some documentation about the telemetry information aws-cli collects?
Randall Kahler
@angrychimp
@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
@Alladinsane
Hello
umangnaik
@umangnaik
Hello Does anybody have idea to implement authentication using aws + web Socket
Scott White
@kibbled
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
@CallumDenby
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
@marius02
Hello, can I move an aws instance from one region to another without creating it again from scratch?
Lionel T.
@lktslionel_twitter

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 ?