Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

just like the title, I am unable to access my running LocalStack instance from the AWS CLI. I'm able to check the health of the container in the browser using http://localhost:55343/_localstack/health ...
user3822332's user avatar
1 vote
0 answers
43 views

I've been using the AWS CLI on my Ubuntu machine for several months with no problem. A few days ago, the browser page opened by aws login began failing: I see <UnknownOperationException/> and ...
A. S. K.'s user avatar
  • 2,856
1 vote
1 answer
92 views

I'm looking to programatically determine which of my AWS invoices are unpaid. The AWS Billing Console clearly shows which invoices are already paid vs. currently outstanding, but I cannot find any API ...
octothorpe_not_hashtag's user avatar
0 votes
0 answers
277 views

I use metaflow with S3. In order to access S3, I need to login with AWS CLI single sign on (aws sso login). The problem is that I have no way to force "refresh" (not sure about correct ...
Edgar H's user avatar
  • 1,559
0 votes
1 answer
74 views

Currently I am able to remove objects under 1 folder WO123456 using single AWS CLI line. aws s3 rm "s3://<bucket-name>/WO123456/" --recursive --profile <profile-name> How can I ...
Eriqa Vague's user avatar
0 votes
1 answer
155 views

I tried to run an AWS Lambda written in Go locally. I used function handlers in Go and did this: Initialized a project with go mod init aws-example-go Created the file main.go and copy pasted the ...
surfmuggle's user avatar
  • 6,056
1 vote
1 answer
125 views

I'm running on an amazon linux instance which has been granted an instance profile, to a iam role with a maximum session duration of 12 hours. According to the documentation, I shouldn't be able to ...
voxobscuro's user avatar
  • 2,209
0 votes
1 answer
268 views

I've been reading the documentation at https://docs.aws.amazon.com/cli/v1/userguide/cli-usage-filter.html and https://jmespath.org/specification.html but it doesn't work. For example, I want to use ...
Bryan Tan's user avatar
  • 362
0 votes
1 answer
105 views

I have configured two distinct AWS cli profiles inside ~/.aws/credentials mentioning in the two profiles two different couples of: AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY With profile 1 I can access a ...
Roberto Russo's user avatar
0 votes
1 answer
218 views

Our team has created a Java command-line utility that connects to AWS S3. We aren't specifying a particular credentials source, we're just using S3Client.builder().region(region).build() and allowing ...
Tom Panning's user avatar
  • 4,802
1 vote
1 answer
257 views

Is there a way to get more granularity about the status of an object in an AWS S3 bucket, which is in the INTELLIGENT_TIERING storage class? Specifically, I would like to use a command-line query to ...
Alex Reynolds's user avatar
0 votes
1 answer
75 views

I have various sub-directories inside my s3 bucket which contain 2 files, namely: pavement_suitability_final_result.gpkg Intermediate_Part1_output.gpkg I wish to delete only the files named as ...
Swathi Venkatesh's user avatar
4 votes
1 answer
358 views

I have configured an AWS IAM policy to allow all access to secretsmanager on all resources: { "Version": "2012-10-17", "Statement": [ { "...
Guss's user avatar
  • 32.9k
-1 votes
1 answer
133 views

How can i deploy my .Net 8 AOT AWS Lambda project when the project has a dependency? aws-extensions-for-dotnet-cli discussions: https://github.com/aws/aws-extensions-for-dotnet-cli/discussions/364 ...
Christopher Cowen's user avatar
0 votes
0 answers
101 views

I need to run a query to establish which VPC_LINK (id or name) that each of our API Resources are associated with .. We have hundreds of API's defined, each with multiple resources, and I need to ...
gbt's user avatar
  • 61
0 votes
0 answers
99 views

We are using a s3 bucket as a shared server for assets for a creative team. We are migrating to a new bucket and would like to move over folders. The new bucket is already in use. Is there a way to ...
Mission-Mountain-872's user avatar
0 votes
0 answers
102 views

I have an account in us-gov-west-1 region. Inside the AWS console cloudshell, I'm trying to run aws-cli commands. It looks like IAM calls fail, but others work. Every time I'm trying to run a IAM ...
Comp_sc_student's user avatar
0 votes
0 answers
273 views

Hello this is my code below, I'm basically trying to assume role into different aws account and get the list of clusters using aws cli command, later update kubeconfig based on the cluster name ...
Raghu's user avatar
  • 41
0 votes
1 answer
84 views

on gitlab-ci I run aws s3 sync $BUCKET_IN $BUCKET_OUT_DATED --storage-class GLACIER --region=eu-west-1 --quiet --delete and I have this error wihtout other informations: Cleaning up project directory ...
Stéphane GRILLON's user avatar
1 vote
3 answers
5k views

I am trying to sync a local directory to an S3 bucket and the set commands are taking me in an erroneous circle. (I've scrubbed the personal directory and bucket names) Command for the simple sync ...
Ben Murphy's user avatar
0 votes
0 answers
269 views

I have tried to use the StackOverflow answer in how to create hosted configuration version for aws appconfig to create a --content payload. This results in An error occurred (BadRequestException) ...
user3535147's user avatar
-1 votes
1 answer
76 views

I registered a .co.uk domain but then cancelled it using Nominet. The domain is now is unregistered and available. However, it still shows in Route 53 Registered domains. When I try to delete it using ...
Mohammad Jumah's user avatar
0 votes
1 answer
530 views

The AWS Image Builder Lifecycle will automatically deprecate, disable and delete Images and their associated AMIs and Snapshots based on a set of rules. This keeps the list of available images current ...
shonky linux user's user avatar
0 votes
1 answer
58 views

I want to run the following AWS CLI command inside a Jenkins pipeline script to get all our CloudFronts. $ aws cloudfront list-distributions { "DistributionList" : { "Items":...
Chris F's user avatar
  • 17.3k
0 votes
1 answer
80 views

I am working on automating the deployment of a static website using AWS CodePipeline and CodeBuild, along with CloudFormation. However, I am encountering some issues in my buildspec.yml configuration. ...
Lala's user avatar
  • 1
0 votes
2 answers
525 views

I am using aws cli v2 to upload a file to s3: aws s3 cp local_file s3://bucket and I do have below configuration: [default] s3 = payload_signing_enabled = true The debug message shows: x-amz-...
Jeff Xu's user avatar
  • 31
1 vote
3 answers
91 views

So, I'm not sure if the commands are actually important, but for background this is the command I was running: aws s3 ls s3://REDACTED/ | jq -nR '[inputs | split(" +"; null).[3]] | reverse.[]...
Dave Butler's user avatar
  • 1,863
0 votes
1 answer
275 views

I’m working on a setup where I need to run a specific container via a Kubernetes CronJob on a specific node. The workflow involves: 1️⃣ Launching a new node just before the CronJob execution. 2️⃣ ...
Ameer Hamza's user avatar
0 votes
1 answer
178 views

In the context of configuring mTLS above ALBs, I need to automate the configuration with AWS CLI. I know how to check if a Trust store is associated with an ALB with the describe-trust-store-...
Orabîg's user avatar
  • 12k
-1 votes
1 answer
60 views

With the following query: aws fsx describe-file-systems \ --no-paginate --no-cli-pager --output yaml \ --query 'FileSystems[].{id:FileSystemId,netid:NetworkInterfaceIds[0],name:Tags[?Key==`Name`]....
cfi's user avatar
  • 11.4k
-1 votes
1 answer
76 views

I am trying to recursively upload parquet files to an AWS S3 bucket using AWS CLI. I want to drop the .parquet and use the file name as the target table name. So in a directory of table1.parquet, ...
clueless's user avatar
1 vote
1 answer
264 views

Hi I'm working in a windows powershell script: $startDate = "2024-11-07T11:00:00Z" $endDate = "2024-11-07T11:40:00Z" $startTimestamp = [int]([DateTimeOffset]::Parse($startDate)....
Jonathan Viana's user avatar
1 vote
1 answer
232 views

I am trying a small shell script to describe all the dynamodb tables in my aws account. #!/bin/bash # Get the list of DynamoDB table names ddbtables=$(aws dynamodb list-tables | jq '.[]' | tr -d \&...
udhayan dharmalingam's user avatar
-1 votes
1 answer
519 views

I'm trying to deploy a CDK stack using npx cdk diff with credentials managed by 1Password. I need to assume a specific AWS role (admin@ontology-dev) to perform the deployment, but I keep encountering ...
Toseef_Ahmed's user avatar
0 votes
1 answer
1k views

I’m trying to log in to Amazon ECR Public to push Docker images from the AWS CLI on an EC2 instance (Ohio region, us-east-2). I've configured my credentials with full access to ECR and followed the ...
Tomas Lecaros's user avatar
1 vote
1 answer
83 views

I'm creating a new ElasticSearch/OpenSearch domain from the AWS CLI with an access policy defined in shell variable with an open access policy but it fails. ACCESS_POLICY_JSON=$(cat <<EOF { &...
Nigel Sheridan-Smith's user avatar
5 votes
2 answers
677 views

I have a DynamoDB table with some string datatype attributes (sample below). I use the AWS CLI to download this data in my local Mac. I want to scan/query the DynamoDB table and download all the ...
nohardfeelings's user avatar
0 votes
1 answer
60 views

This query returns the 5 largest items, but ignores the StorageClass aws s3api list-objects-v2 --bucket spinhead --query 'Contents[?StorageClass==STANDARD] && sort_by(Contents, &Size)[-5:]'...
spinhead's user avatar
-3 votes
1 answer
5k views

These are the steps I need to currently follow in order to switch profiles with aws configure sso from my terminal to use aws cli commands without credentials missing error: Set default browser to ...
Inspiraller's user avatar
  • 3,822
0 votes
2 answers
244 views

I have developed a script that will download and install the AWS CLI and Config with .env file. Even though it is installed and configured successfully, when I'm trying to copy the s3 file to the ...
User's user avatar
  • 77
2 votes
1 answer
77 views

My goal is to start testing my website in real mobile device browsers from Amazon Device Farm. So, I need a "command_executor" for Appium web driver. I have a Mobile device testing project ...
Dmytro Krasylnikov's user avatar
0 votes
1 answer
175 views

I have a GitHub Actions workflow for deploying my Node.js app to AWS Elastic Beanstalk. Here's the relevant part of my YAML file for this deployment: - name: Install awsebcli uses: sparkplug-app/...
rebs's user avatar
  • 3
-1 votes
1 answer
241 views

I have set up a task definition to run an nginx ecs container. Tested and works. I have added a sidecar container to share a volume with the nginx container, so it can upload content to the container ...
Inspiraller's user avatar
  • 3,822
0 votes
0 answers
67 views

This is an example AWS CLI script: taskDefs=$(aws ecs list-task-definitions --status="INACTIVE" --query="taskDefinitionArns") echo $taskDefs # output: ["arn:1", "arn:...
Inspiraller's user avatar
  • 3,822
0 votes
1 answer
110 views

I use the AWS list-distributions CLI command to get all the ClodFronts in our system. For example $ aws cloudfront list-distributions { "DistributionList": { "Items": [ ...
Chris F's user avatar
  • 17.3k
0 votes
1 answer
513 views

I seem to be getting an error after performing a general upgrade of my packages. I am running the following command which was working fine before the upgrade: sam local start-api --profile msoft-dev --...
red house 87's user avatar
  • 2,495
0 votes
0 answers
161 views

I was following this document to export the logs to S3 https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/S3ExportTasks.html#ExportCrossAccount-CLI I am doing it for the cross accounts, Here is ...
Murali's user avatar
  • 1
1 vote
1 answer
166 views

In one of my AWS managed applications (in the AWS Identity Center) I want to increase the 3 scopes for these applications: To all 5 scopes related to Q Business: It is straight-forward to edit for ...
Chidinma Umenwofor-Nweze's user avatar
1 vote
1 answer
85 views

I try to log into my AWS ECR repository. This is my powershell script: param( [string]$profile, [string]$ecr_name ) $accountId = (aws sts get-caller-identity --query "Account" --...
rmbt's user avatar
  • 67
0 votes
2 answers
478 views

In the AWS online UI, when creating a cluster, a user can select these additional options: Infrastructure: Amazon EC2 instances Auto Scaling group: Create new ASG|select Provisioning model: On-...
Inspiraller's user avatar
  • 3,822

1
2 3 4 5
90