4,494 questions
0
votes
1
answer
61
views
AWS CLI remove object for specific folder range name
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 ...
0
votes
1
answer
97
views
How to develop and test AWS Lambda written in Go locally without SAM?
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 ...
0
votes
1
answer
109
views
S3 signed link expiration differs with ruby sdk and aws cli -- the cli is apparently not subject to session expiration?
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 ...
0
votes
1
answer
157
views
How do you use aws cli --query to filter items using JMESPath functions?
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 ...
0
votes
1
answer
83
views
Multiple AWS cli profiles active at once
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 ...
0
votes
1
answer
120
views
AWS Credentials not loading for one user in Java
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 ...
1
vote
1
answer
163
views
Querying INTELLIGENT_TIERING AWS S3 objects for actual tier status?
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 ...
0
votes
1
answer
52
views
AWS CLI error with delete objects recursively using include, exclude
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 ...
3
votes
1
answer
197
views
Access denied to AWS Secrets Manager API for BatchGetSecretValue, while GetSecretValue works
I have configured an AWS IAM policy to allow all access to secretsmanager on all resources:
{
"Version": "2012-10-17",
"Statement": [
{
"...
0
votes
0
answers
24
views
How do I use a regex for user-name in aws iam cli?
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 ...
-1
votes
1
answer
101
views
How do I handle dependency projects whith .Net8 AOT Publish to AWS Lambda? MSB4018 error
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
...
0
votes
0
answers
71
views
Using AWS SSO credentials with YACE
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 ...
0
votes
0
answers
76
views
AWS CLI : How to get the VPC_LINK associated to an API Resource
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 ...
0
votes
0
answers
64
views
Syncing AWS Buckets without overwriting contents
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 ...
0
votes
0
answers
111
views
Error Updating a lambda function off of a versioned .zip object in S3
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 ...