Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to select services #107

Open
techdragon opened this issue Sep 10, 2020 · 3 comments
Open

Option to select services #107

techdragon opened this issue Sep 10, 2020 · 3 comments
Assignees

Comments

@techdragon
Copy link

techdragon commented Sep 10, 2020

It would be useful if there was an option to only specify some services, if would be easier to use this plugin if it didnt try to enable (and use) localstack for everything. For instance I looked at using this plugin to do some development against SQS, but decided to write a script to launch the docker file manually because of all the issues regarding the lambda environment not working.

┆Issue is synchronized with this Jira Task by Unito

@whummer whummer self-assigned this Nov 1, 2020
@whummer
Copy link
Member

whummer commented Nov 1, 2020

Thanks for reporting @techdragon . Can you please elaborate a bit more on the specific use case you had in mind.

We can certainly make the plugin configurable in such a way that the plugin itself would only connect to the local APIs for certain services. However, ultimately the Serverless framework under the covers creates a CloudFormation template, which is then sent to the LocalStack CloudFormation API to deploy all the resources.

Just to understand your use case a bit better: Assuming you have, say, an SQS queue and a Lambda function in your serverless.yml - are you saying that you'd like to deploy the SQS queue against LocalStack, but the Lambda function against real AWS..? In that case, we would have to make a change to LocalStack itself (and it might not be a trivial one) - but I just want to make sure I understand correctly.

Can you please share some details and a small example of what you're trying to achieve? Thanks!

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 13, 2020

➤ Waldemar Hummer commented:

Thanks for reporting techdragon . Can you please elaborate a bit more on the specific use case you had in mind.

We can certainly make the plugin configurable in such a way that the plugin itself would only connect to the local APIs for certain services. However, ultimately the Serverless framework under the covers creates a CloudFormation template, which is then sent to the LocalStack CloudFormation API to deploy all the resources.

Just to understand your use case a bit better: Assuming you have, say, an SQS queue and a Lambda function in your serverless.yml

  • are you saying that you'd like to deploy the SQS queue against LocalStack, but the Lambda function against real AWS..? In that case, we would have to make a change to LocalStack itself (and it might not be a trivial one) - but I just want to make sure I understand correctly.

Can you please share some details and a small example of what you're trying to achieve? Thanks!

@techdragon
Copy link
Author

The issue that prompted me to file this, was that I was using the Serverless' built in Lambda runner for specific features it supported, also wanting to use LocalStack for SQS, but not wanting to use LocalStack's Lambda runner... because it didn't support the feature I was already using that Serverless' Lamda runner does support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants