Questions tagged [aws-toolkit]

81 questions
2
votes
1 answer

Cannot see codelens button "add debug configuration" in template.yaml using aws toolkit for VS code when creating Lambda function

Title says it all. Codelens appears to be turned on in Preferences. What else should I look at?
Martin
  • 45
  • 1
  • 5
2
votes
1 answer

Using AWS Toolkit in Visual Studio 2019 for LocalStack?

Can the AWS Toolkit in Visual Studio 2019 be used to access LocalStack running on my development machine?
2
votes
1 answer

Failed to debug code via aws cloud debugging in IntelliJ

I already succeed enabling cloud debug for an ECS Fargate task in IntelliJ via following doc. Also I configured a debug configuration for the cloud debug enabled task via doc, then I ran the debugging configuration, got below error, Retrieve…
Kane
  • 8,035
  • 7
  • 46
  • 75
2
votes
2 answers

Python import statement. ModuleNotFoundError: when running tests and referencing a module in a parent folder

Question: How do I fix the import statement in my test file? ================================================ I run the following commands: commands to run up the tests cd cluster_health python -m pytest tests/ -v -s I then get the following…
Banoona
  • 1,470
  • 3
  • 18
  • 32
2
votes
0 answers

AWS SAM build failing for Lambda Java8 when including dependent maven modules

I am implementing a simple lambda handler in Java8. Since many more lambdas are going to be implemented in the future and they all need to be packaged as jars I have structured the maven project with one maven module for each lambda. All works well…
Evan
  • 1,683
  • 7
  • 35
  • 65
2
votes
2 answers

aws toolkit for pycharm error running lambda locally

I'm having some trouble using the new aws toolkit for pycharm. When I try to run locally the lambda hello-world from the template I get the following error Error running '[Local] app.lambda_handler': Failed to locate module for PyFile:app.py any…
Paolo Fusari
  • 105
  • 12
2
votes
0 answers

PyCharm + AWS Toolkit Not Picking the correct Python Version for sam build from the IDE

I am following https://aws.amazon.com/blogs/aws/new-aws-toolkits-for-pycharm-intellij-preview-and-visual-studio-code-preview/ I am getting an issue when I try to deploy the service from the PyCharm IDE. It's failing on sam build because it's…
Shanaka
  • 83
  • 2
  • 10
1
vote
2 answers

Can VSCode use AWS Toolkit credentials for running file

I'm new to VScode and trying to figure out if there's a simple way to implement this. Essentially I've a lot of AWS accounts / profiles and for local testing I need to be able to switch between the accounts , run something and then check the…
1
vote
1 answer

AWS RDS & Datagrip - can't connect to DB with IAM auth "case sensitivity plain=mixed"

I have an existing RDS database on AWS that I want to connect to through Datagrip using IAM authentication. I've followed the instructions to a tee. I've enabled IAM auth on the DB, I installed the AWS Toolkit plugin and setup the auth keys. It…
yuvi
  • 18,155
  • 8
  • 56
  • 93
1
vote
2 answers

"AWS: Deploy SAM application" not appearing in available commands

In VSCode I have installed the AWS Toolkit 1.62.0. I'm on Windows 11, and I do CNTL-SHIFT-P and type "deploy" or "sam app", no matches are found: I was able to run "AWS: Create Lambda SAM Application" with no issues. Is "deploy sam app" not…
NealWalters
  • 17,197
  • 42
  • 141
  • 251
1
vote
1 answer

AWS Toolkit in VS2022 Renders System Unusable

Since the update before last to AWS Toolkit, when running Visual Studio 2022 with AWS Toolkit installed and enabled, the entire PC grinds to crawl. Specifically, physical memory use shoots up to 99%, there's a huge amount of continuous disk activity…
Robot Head
  • 396
  • 3
  • 16
1
vote
0 answers

Why debug works when I delete .git directory? [Build error AWS Toolkit + AWS SAM]

I'm facing an unusual issue. I am able to debug lambdas with AWS toolkit + Goland using SAM, this is working perfectly. But in a specific case I'm having an error in the BUILD related to VCS. After several tests I concluded that the problem was the…
Allan Almeida
  • 90
  • 1
  • 2
  • 8
1
vote
1 answer

AWS Toolkit Visual Studio Code Mac Unable to locate credentials

I successfully installed aws toolkit in my visual studio code. I set all the credentials with region and the file is at .aws. In Visual Studio the aws explorer shows my profile. But when i try to run the following code: import boto3 import pprint…
1
vote
0 answers

Could not launch AWS SAM application when using VS Code Debugger "Function not implemented"

I have a generic SAM application generated by AWS Toolkit. My end goal is to debug my go application line by line. Sorry if this question gets too long, but I have tried my best to add as few relevant details as possible, while trying to make sure I…
1
vote
1 answer

Debug AWS Lambda Layer locally

I am trying to debug a Lambda locally in PyCharm with SAM-cli. For this Lambda to work, I have a layer linked to it which works fine. Now, if I set a breakpoint in the Lambda code, everything is fine, the execution is stopped at the breakpoint.…
R.A
  • 11
  • 4