Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
52 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
63 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
112 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,040
0 votes
1 answer
110 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,189
0 votes
1 answer
177 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
  • 363
0 votes
1 answer
86 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
148 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,792
1 vote
1 answer
181 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
59 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
3 votes
1 answer
214 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.8k
0 votes
0 answers
24 views

I want to use a regex for username "prod-customer-1-user"/"prod-customer-2-user"/... in attach-user-policy iam cli command. I can't quite figure out how. What's the correct ...
user433342's user avatar
  • 1,108
-1 votes
1 answer
112 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
80 views

After adding YetAnotherCloudwatchExporter(YACE) to my Prometheus server & configuring AWS CLI to use my provided SSO profile, I'm getting the errors below when running YACE. I've already confirmed ...
Z McCrocklin's user avatar
0 votes
0 answers
82 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
73 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
120 views

I am encountering a challenge within our production pipeline related to the handling of the lambda.zip file. Specifically, this file is being transferred from a temporary S3 bucket to a permanent S3 ...
DukeOfDoors's user avatar
0 votes
0 answers
83 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
252 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
76 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
0 votes
0 answers
67 views

I have an ASP.NET Core Web API project and a separate service layer that contains business logic. I want to invoke an AWS Lambda function from my service layer (not directly from the API), and handle ...
JJ. Murdoc's user avatar
1 vote
3 answers
4k 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
205 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
0 votes
0 answers
68 views

Using aws stepfunctions get-execution-history, I can see all the events in a particular execution. It lists, among other things, lambda function executions. How do I get the logs associated with a ...
lmat - Reinstate Monica's user avatar
0 votes
0 answers
187 views

note: sensitive info redacted I was using steampipe successfully the day before. Today, I receive an error that I'm unable to refresh cached credentials. steampipe query "select organization_id ...
Lance Wheelock's user avatar
-1 votes
1 answer
63 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
426 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
51 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.2k
0 votes
1 answer
71 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
0 answers
184 views

I have been struggling with color outputs a lot in GitHub Actions. ANSI color is supported, but many CLI tools only output in color if an interactive TTY is detected. I'm guessing because of this ...
Rosey's user avatar
  • 871
0 votes
2 answers
438 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
0 votes
0 answers
248 views

I have a github action (someone else made it, and pretty sure it works in the past) jobs: # some other job/steps... upload-binary-to-s3: if: startsWith(github.ref_name, 'xx-vault-plugin_') ...
Kokizzu's user avatar
  • 27.1k
1 vote
3 answers
85 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,853
0 votes
1 answer
214 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
136 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
41 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
55 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
210 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
189 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
469 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
913 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
67 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
588 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
55 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
4k 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,802
0 votes
2 answers
210 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
  • 79
2 votes
1 answer
72 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
159 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
218 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,802
0 votes
0 answers
59 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,802
0 votes
1 answer
96 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.2k

1
2 3 4 5
90