aws-toolkit-vscode icon indicating copy to clipboard operation
aws-toolkit-vscode copied to clipboard

custom endpoints / Localstack

Open MichaelRheault opened this issue 3 years ago • 10 comments

Desktop (please complete the following information):

  • OS: macos
  • VS Code version: 1.59.0 (Universal)
  • AWS Toolkit extension version: v1.29.0

Question

Hi! I've been trying to use the AWS Toolkit with Localstack running on my machine. My localstack setup is running fine, I can access it with the awslocal wrapper of the awscli. I created a new aws profile for Localstack, but I can't find a way to link this profile to the localhost:4655 endpoint used by localstack. To my understanding, this seems to be the missing bit.

Is it possible to link the AWS Toolkit to Localstack?

MichaelRheault avatar Sep 06 '21 07:09 MichaelRheault

It's not supported yet, but "custom endpoints" is something we are considering.

Related:

  • https://github.com/aws/aws-toolkit-jetbrains/issues/1883
  • https://github.com/aws/aws-sdk/pull/230

justinmk3 avatar Sep 07 '21 00:09 justinmk3

Is there any update for this? @justinmk3

isdzulqor avatar May 30 '22 18:05 isdzulqor

This would be an awesome feature!

ptrhck avatar May 31 '22 12:05 ptrhck

As already registered here:

Problem

If you have a local profile for local development using something like localstack, from the command line you can use the ASW CLI like this, to access the localstack S3 service:

aws --endpoint-url http://localhost:4566 s3api head-object --bucket "local-bucket" --key "local-object.txt"

As far as I know there is no support for setting the endpoint-url parameter in aws-toolkit-vscode.

Expected behavior

A way to set the endpoint-url parameter in aws-toolkit-vscode.

Note

There is a proposal to allow setting the endpoint url for different services using the AWS config files or environment variables but it is not implemented yet so, for now, there is no way to do this on aws-toolkig-vscode.

rubensa avatar Jun 16 '22 10:06 rubensa

Would need this as well.

themarolt avatar Sep 08 '22 09:09 themarolt

This would be a worthwhile feature to add.

EDTCorey avatar Sep 16 '22 05:09 EDTCorey

+1 to this. I use vscode with docker version of S3 (cloudserver) and would love to be able to change the endpoint URL to a localhost endpoint.

jeremysf avatar Sep 19 '22 21:09 jeremysf

+1 for endpoint url support for Localstack

jiabinxia-sanofi avatar Sep 27 '22 02:09 jiabinxia-sanofi

+1 really needed feature

KOCTENbI4 avatar Oct 07 '22 08:10 KOCTENbI4

+1 for this feature please

ssizovACR avatar Oct 12 '22 11:10 ssizovACR

+1 this would be really nice

rsalama avatar Nov 04 '22 17:11 rsalama

Status is still the same: https://github.com/aws/aws-toolkit-vscode/issues/2007#issuecomment-913909860

justinmk3 avatar Jan 25 '24 22:01 justinmk3

Any update?

arjun-flyakeed avatar Feb 27 '24 10:02 arjun-flyakeed

Status is still the same: https://github.com/aws/aws-toolkit-vscode/issues/2007#issuecomment-913909860

justinmk3 avatar Feb 27 '24 15:02 justinmk3