miguel-a-calles-mba / serverless-stack-termination-protection

Serverless plugin to update the CloudFormation stack termination protection.
MIT License
23 stars 4 forks source link

Feature: Remove protection with force flag #14

Open miguel-a-calles-mba opened 5 years ago

miguel-a-calles-mba commented 5 years ago

Allow removing termination protection when executing sls remove --force.

Potentially add a custom setting:

custom:
  termination-protection:
    allowForceRemove: true
GrahamCampbell commented 2 years ago

Not sure if we should actually allow this in the code. One of the features I see of this, is that a human must explicitly go into the UI and change the termination protection. I sleep better knowing none of my CI pipelines could go wrong and delete prod. ;)

miguel-a-calles-mba commented 2 years ago

Good point @GrahamCampbell !