Questions tagged [aws-toolkit]
81 questions
13
votes
4 answers
How to export PATH to "sam build" command?
I'm developing AWS Lambda function on PyCharm.
When I do "Run" button, Following error message.
/usr/local/bin/sam build MyFunction --template /Users/miyashiiii/Works/myapp/myapp/template.yaml --build-dir…

miyashiiii
- 169
- 1
- 1
- 6
10
votes
1 answer
IntelliJ IDEA Config cant find AWS Lambda Handler in Default 'helloworld' Application
When setting the debug configurations for the default IntelliJ IDEA Java helloworld application (created upon making a new AWS Lambda project) the following response is shown:
Error: Cannot find handler 'helloworld.App::handleRequest' in…

David
- 256
- 2
- 13
8
votes
0 answers
Does serverless.template support yaml in visual studio?
I created a aws lambda .net core project with the provided templates
I has a json file serverless.template which is in json. SAM templates can be in yaml now and I prefer that because it is readable and can have comments.
When I change…

red888
- 27,709
- 55
- 204
- 392
5
votes
1 answer
Running AWS Lambda with Java in IntelliJ locally - No response from invoke container for Function (Problem with Docker?)
I get this error when running my AWS Lambda No response from invoke container for Function. I would expect it to return the "hello world" String that I defined as output:
I also tried it with this simplier Lambda function, but I get the same…

A501X
- 69
- 7
4
votes
0 answers
Is there any way to use cache when sam building from launch.json?
The Problem
I am currently working in some AWS Lambda Functions and testing it locally. Usually, the command sam build takes a lot to finish, so I searched a way to optimize it and found the sam build --cached --user-container.
When running it in…

Cizika
- 41
- 2
4
votes
6 answers
Publish to AWS Lamba - Failed to find the "build-lambda-zip" utility
I'm currently trying to publish my AWS lambda functions using Visual Studio 2019 community (v4.8.03752) and leveraging the AWS Toolkit for Visual Studio (v1.20.1.0). After right clicking my project and selecting 'Publish to AWS Lambda' I receive the…

Matthew Cantrell
- 41
- 4
3
votes
1 answer
AWS Toolkit vscode extension, Connect Using AWS Identity Center keeps trying to access the wrong region
I installed the extension AWS Toolkit for VScode. My IAM Identity Center Users, Groups, etc were all created in us-east-2.
But for some reason AWS keeps trying to route me through us-east-1 even though this causes an invalid_grant Invalid grant…

ChristianOConnor
- 820
- 7
- 29
3
votes
0 answers
Can AWS Toolkit in Eclipse be used with localstack?
For local development, I was hoping to set up a localhost profile for AWS Toolkit that I could then use in Eclipse to interact with resources on localstack, but I'm at a loss to set this up. There is a local(localhost) option in AWS Toolkit, but I…

Jim O'Neil
- 23,344
- 7
- 42
- 67
3
votes
1 answer
Updating Lambda to AWS through intellij plugin
I'm uploading a Spring Application to a Lambda function on AWS through IntelliJ's AWS Toolkit but when uploading the code to the S3 bucket it runs sam build and yields the following error:
2019-04-23 19:44:41 Building resource 'Function'
2019-04-23…

Daniel Mendes
- 31
- 3
3
votes
1 answer
Dynamodb error : Either the keyconditions or keyconditionexpression parameter must be specified in the request
I am observing an unexpected outcome when querying a DynamoDB table using the AWS DynamodB Document Model in C#.
My table users has a username primary key. The GSI was set in for user_type, user_id and username keys.
This table works when I insert…

timblistic
- 553
- 2
- 10
- 26
2
votes
1 answer
Can I use "aws-toolkit for VSCode" to keep my credentials safely there while I am doing app development?
I am working on a Flutter + Typescript-NodeJS application and I need to use Amazon S3 directly from inside my Flutter and also NodeJS code. What I am doing now is keeping my access and secret keys within a .env file inside my project but I think…

best_of_man
- 643
- 2
- 15
2
votes
0 answers
Trying to get AWS-Toolkit to run my lambda debug launch configuration in VS Code
I have the following launch.json config:
{
"type": "aws-sam",
"request": "direct-invoke",
"name": "getUserB196FDAE",
"invokeTarget": {
"target": "template",
…

DanielGPR
- 21
- 2
2
votes
2 answers
Which environment is it referring to?
My version of vscode is 1.69.0 and my version of sam is 1.53.0. I have this error here and just wanted to know which environment is being referred to?
2022-08-01 14:38:50 [INFO]: Preparing to debug locally: Lambda ""
2022-08-01 14:38:50 [INFO]:…

Joey Cheung
- 21
- 2
2
votes
1 answer
What is the correct way to set up AWS credentials to work with MFA and be able to assume roles as named profiles via AWS Toolkit in VScode?
When using a simple AWS credentials file like this on Ubuntu Linux with credentials file: ~/.aws/credentials
[leigh.m] # let's call this account ID: 1000 for…

Leigh Mathieson
- 1,658
- 2
- 17
- 25
2
votes
1 answer
How to use Powershell 7 from AzureDevops with AWS Tools
I am writing a powershell script and would like to take advantage of the 7.0 version of Powershell. Specifically because I need access to the new features of CovertFrom-Json that are not available in 5.1. My script has the following command:…

Colin
- 331
- 3
- 19