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

Not disabling an existing function #1

Open
GallagherSam opened this issue Oct 21, 2020 · 1 comment
Open

Not disabling an existing function #1

GallagherSam opened this issue Oct 21, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@GallagherSam
Copy link

Hello,

I tried using this plugin to disable some Lambda functions that had already been deployed. After setting up this plugin in my serverless.yaml file and deploying the changes, my Lambda functions were unaffected.

Looking through the source, it doesn't look like this plugin actually disables the function, it just removes it from the Serverless stack to be deployed. Is this correct?

Are you possibly going to support actually disabling the Lambda function if it has already been deployed? There is an API you can use for that.

@abemedia
Copy link
Owner

Hi @SamGallagher95, you're correct, it only removes the function from the output.
There aren't any plans to change this behaviour but feel free to submit a PR.

@abemedia abemedia added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants