Socket
Socket
Sign inDemoInstall

serverless-remove-resources

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-remove-resources

A Serverless Framework plugin for removing resources from your CloudFormation template before deployment.


Version published
Weekly downloads
1.6K
decreased by-31.69%
Maintainers
1
Install size
3.72 kB
Created
Weekly downloads
 

Readme

Source

serverless-remove-resources

A Serverless Framework plugin for removing resources from your CloudFormation template before deployment.

Installation

To install this plugin, run:

npm install serverless-remove-resources

Then, add serverless-remove-resources to the plugins array in your Serverless service's serverless.yml file:

plugins:
  - serverless-remove-resources

Usage

To use this plugin, specify the resources you want to delete under the custom.serverless-remove-resources key in your serverless.yml file. The value should be a list of resource logical names.

For example:

custom:
  serverless-remove-resources:
    - IamRoleLambdaExecution

This will remove the IamRoleLambdaExecution resource from your CloudFormation template before deployment.

Note

This plugin should be used with caution, as deleting resources can have unintended consequences. Make sure to thoroughly test any changes made using this plugin before deploying to production.

Contribution

We welcome contributions to this project. If you are interested in contributing, please feel free to submit a pull request.

Keywords

FAQs

Last updated on 21 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc