A Sceptre hook to enable and disable stack termination protection
Project description
Overview
The purpose of this hook is to enable and disable stack termination protection.
A common use case is execute this hook with your CI/CD system. In that case you may need to execute this on every change. That's where the sceptre-date-resolver may help. It will allow you to force AWS cloudformation to execute the template on on every commit.
Available Hooks
StackTermination
Enables and disables cloudformation stack termination.
Syntax:
parameter|sceptre_user_data:
<name>: !stack_termination_protection <setting>
Valid setting:
- enabled
- disabled
Example:
Enable stack termination protection after creating stack and disable stack termination protection before stack deletion:
hooks:
after_create:
- !stack_termination_protection 'enabled'
before_delete:
- !stack_termination_protection 'disabled'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sceptre-stack-termination-protection-hook-1.1.0.tar.gz
.
File metadata
- Download URL: sceptre-stack-termination-protection-hook-1.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347cf93776ee0ed8ac7951bcd660006293207cf8de79de3a859be232d5f48293 |
|
MD5 | 4360953fbdf1e7f84bc3dd10651f865c |
|
BLAKE2b-256 | 431b0ba8fbc580348feca0bae4bf2d1f1bc88bd1daa7b2a7d5288daedefd93b2 |
File details
Details for the file sceptre_stack_termination_protection_hook-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: sceptre_stack_termination_protection_hook-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 143810a848c16e32592ace7b4a00c62c45095d1c6e37f0afb64883d4ea3a48c0 |
|
MD5 | 94114dbcd149e98625ef7eebbabac475 |
|
BLAKE2b-256 | 0ea77ae169f9aada1c3f75770bf24d6c3054234bf97262e0e47b3cf8bd23f744 |