Questions tagged [amazon-web-services]
When asking about Amazon Web Services (AWS), specify which services you are using. Provide details on your architecture/configuration - do not include proprietary or sensitive information this is a public forum. Share relevant parts in a code block along with language tags. Specify the SDK/CLI version. Detail troubleshooting steps taken. The AWS tag is rarely used alone and should be used with other tags to more clearly define the topic of the question.
amazon-web-services
159,727
questions
1
vote
0
answers
26
views
Not able to Access S3 image via Cloudfront
I have created S3 bucket with public access with below mentioned Bucket policy and CORS. My bucket image is accessible in my web app.
But When I create cloudfront distribution for this bucket with ...
0
votes
0
answers
5
views
cognito with lambda verify_auth_challenge returning incorrect username or password when responding to custom challenge
I am trying to implement email based MFA using AWS congito and Lambda triggers and using lambda functions trigger and verify mfa_code. I am able to pass PASSWORD_VERIFIER challenge and also able to ...
0
votes
0
answers
18
views
Quarkus based AWS Lambda native image cold start init phase is slow
I have quarkus-amazon-lambda:3.12.0 based AWS Lambda native image function, which cold start is slow. I'm not expecting it to be like that as the function does not do any complex tasks and the ...
-1
votes
0
answers
20
views
Terraform failing with: " The request is rejected because member account's email address is missing." [closed]
I am trying to enable Security Hub for each member account in an AWS Organization.
During the Terraform apply process, the following resource is failing: resource "aws_securityhub_member" &...
0
votes
0
answers
17
views
Struggling to send a PNG file to AWS Bedrock Agent
I have set up an AWS bedrock agent and am successfully sending text requests and receiving responses.
I need to send across a PNG file for the Agent to view and return the contents as JSON.
This is my ...
0
votes
1
answer
52
views
Azure DevOps AWS CLI with Powershell
I have a AWSShellScript task that executed a powershell script - example below trimmed for this post.
-task: AWSShellScript@1
inputs:
scriptType: inline
inlineScript: 'pwsh -File test-script....
0
votes
1
answer
26
views
How to create 1000s of tables in redshift serverless automatically using boto3?
I have an S3 bucket which contains 1000s of folders which are basically table_names and those contains parquet files.
I'm trying to create tables with that schema in redshift.
I'm using redshift-data ...
0
votes
1
answer
13
views
An error occurred (AuthFailure) when calling the DescribeAvailabilityZones operation: AWS was not able to validate the provided access credentials
We have followed these steps many times but again error is coming:
Go to your .aws directory under Users e.g. c:\Users\Joe.aws
Two files: configure and credential. Delete both files
Rerun configure: ...
0
votes
0
answers
9
views
Access token fetched from AWS Cognito oauth api endpoint is invalid when utilized by boto3
Having been confused by AWS Congito for weeks... Are there any difference between access tokens retrieved by /oauth2/token and boto3? If so, how can my backend use an access token passed from my ...
1
vote
0
answers
18
views
Elastic Load Balancer Managing Requests Sequentially Instead of Concurrently - Configuration Issues?
I am deploying a Flask application using Gunicorn with Flask-SocketIO on AWS Elastic Beanstalk. I’m experiencing issues where my Elastic Load Balancer (ELB) seems to handle incoming requests ...
0
votes
0
answers
12
views
Store logs and query them to form a report using AWS services
My use case is, I have to generate daily report of the security attacks on my APIs (APIs logics are written in lambda function). For this I am logging the IDs of the attackers and other info from the ...
0
votes
1
answer
21
views
While creating AWS SQS queue in kotlin getting aws.smithy.kotlin.runtime.serde.DeserializationException: Unexpected JSON token at offset 0; exception
I am trying to create AWS SQS queue, getting the below error:
aws.smithy.kotlin.runtime.serde.DeserializationException: Unexpected JSON token at offset 0; found \<, expected one of {, \[, ", ...
-2
votes
0
answers
15
views
Can not read excel and upload data to database in es2 instance
I have a vm on ES2 instance with ubuntu, I run my project in this VM, so my code should go through excel .xlsx file (which I copy with scp command from my computer to es2 instance) and change ...
0
votes
0
answers
9
views
AWS BASH Script to add a specific permission policy on instance profile of all EC2 instances in an organization
I am new to AWS Bash Scripting, and working currently on a task that needs to -
Go through all OUs
Go through all accounts in each of the OUs
Go through all EC2 instances in each of the accounts
...
-2
votes
0
answers
27
views
Node js CORS error only on /admin route only [closed]
I am facing this issue with only one route which is /admin.
I have deployed the Node js Code on the EC2 instance.
No Nginx is used, Domain is mapped using Load Balancer.
There is no issue with the ...