All Questions
Tagged with amazon-web-services aws-cli
3,302
questions
0
votes
0
answers
23
views
AWS CLI V2 running but not displaying output in GIT BASH
I am using AWS CLI V2 in my Windows 11 and use GIT BASH as a terminal. I configured the AWS within the terminal but command "aws iam list-users" is running successfully but not showing the ...
1
vote
1
answer
28
views
I am trying to get list of databases from AWS Glue using AWS Glue SDK for Java 1.X with limited resource access on policy but getting empty list
As mentioned in title, I am trying to fetch list of databases from AWS Glue.
I have plenty of databases listed in Glue. I am using a policy with limited resource access so that I can only see specific ...
-1
votes
0
answers
34
views
ec2-describe-instance-status InvalidInstanceID.Malformed
When I run
aws ec2 describe-instance-status --instance-ids i-XXXXXX
for any of my instances, I get:
An error occurred (InvalidInstanceID.Malformed) when calling the
DescribeInstanceStatus operation: ...
0
votes
0
answers
25
views
aws iam list-users getting output as Unable to parse response [closed]
I am running the following command in gitbash:
aws iam list-users
However I am getting an error which states:
unable to parse response invalid xml received(no element found: line 1, column 0), invalid ...
0
votes
0
answers
25
views
Parsing AWS CLI response
I am looking to tidy up a response from aws ec2 cli. Basically want to get a list of ec2 instances terminated because of lack of spot capacity.
aws ec2 describe-instances \
--filters Name=instance-...
0
votes
0
answers
56
views
JSON conversion error from aws configservice query
I have a problem generating the list of my resources in AWS, and later converting them into CSV using the JQ command, exactly this is the command I am running from the AWS CLI
aws configservice select-...
0
votes
0
answers
22
views
AWS CLI: Query for S3 buckets missing a policy
I need to determine which - if any - of my buckets do not have a specific policy attached to them.
Is this possible with the aws CLI? Specifically, I'm trying to find any buckets with a deprecated ...
-1
votes
2
answers
82
views
How to fetch AWS Elastic IP quota(limit) and find out how many IP elastic addresses my terraform script can create
I am fairly new to AWS CLI. I am trying to find out the limit(quota) of elastic IP addresses for a region(e.g. us-east-1). From that limit, how many have been used and how many are remaining for my ...
-1
votes
1
answer
61
views
Execution of aws-cli is insanely slow on MacOS
I am a linux user switching to Mac for work. The first problem I've encountered is with aws-cli, the mere execution of which takes about 4 seconds:
time aws --version
returns
aws-cli/2.17.2 Python/3....
1
vote
1
answer
94
views
aws rds enable-http-endpoint not changing flag of postgres db cluster
I am running a postgres db cluster on aws and I'd like to allow an ec2 instance to make programmatic changes to the database. When I try to run the program I get the following error:
"botocore....
0
votes
0
answers
47
views
Unable to delete an item in aws dynamodb
Unable to delete an item in aws dynamodb using aws-cli:
Table data in json format:
{
"primaryKeyAttributeName": {
"S": "2024-06-17"
},
"sortKeyCreatedOn&...
0
votes
0
answers
10
views
Getting path errors displaying help in AWS CLI: "C:\Program" is not recognized as an internal or external command..., when using "aws help"
I'm encountering an issue using the help subcommand with AWS CLI. The AWS CLI generally works fine for me interacting with AWS resources, which leads me to believe it is installed correctly. However, ...
-3
votes
1
answer
56
views
How do I install AWS CLI on Mac running Python 2.7?
I need to install (and utilize) AWS CLI, which requires Python 3.8 or higher. My Catalina Mac has 2.7.16.
I installed 3.12 via the link at https://docs.python.org/3/using/mac.html. I see when running ...
0
votes
1
answer
61
views
Unable to create a Route 53 health check with associated CloudWatch alarm
I'm attempting to create a new Route 53 health check with an alarm that should be triggered when the health check fails. I'm using the following command and health check config:
aws route53 create-...
0
votes
1
answer
51
views
How to get `requestId` for AWS Lambda synchronous invocation?
I am invoking an AWS Lambda function through the official aws cli, as
aws lambda invoke --function-name [name] --payload [payload] [outfile]
A successful invocation looks something like:
{
"...