Tooling to help manage CloudFormation stacks
Project description
Stacks Helper Scripts
This repository contains various helper scripts for deploying with OMBU infrastructure Cloudformation packaged templets.
The target Python version of these scripts is documented in .python-version.
Adding to infrastructure
Add to the requirements.txt with:
git+ssh://git@github.com/ombu/stacks-helper-scripts.git@<version>
Add to install MakeFile command:
@$(eval PKG_LOCATION := $(shell pip show stackedup-helper-scripts | grep Location | sed -n 's/Location: //p')/stackedup_helper_scripts)
@ln -s -f -n ${PKG_LOCATION} scripts
Add /infrastructure/scripts to .gitignore
Templete changes:
Rehome CodeUri in Properties sections to refer to the infrastructure/scripts
directory.
Types of scripts
cloudformation-update-script
This script sends a notification to SNS when an ECS deployment is detected from a CloudFormation update. A starting deployment notification to the SNS topic then send another notification once the ECS deployment is complete.
cluster-lifecyclehook-script
Auto Scaling Lifecycle Hook to drain Tasks from your Container Instances when an Instance is selected for Termination in your Auto Scaling Group.
deploy-notification-script
This script sends a notification to SNS when an ECR image is built.
email-notification-script
This script sends email to recipients from an SNS topic.
instance-refresh-script
This script refreshes the autoscale group with a new AMI.
reset-task-notification-script
This script sends a SNS notification when the reset task is requested.
slack-notification-script
This script sends a Slack notification to a Webhook endpoint from an SNS topic.
web-deploy-script
When a ECS task is configured to use automatic deployment of the latest tag this script will restart the ECS task and send a starting deployment notification to the SNS topic then send another notification once the ECS deployment is complete.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stackedup_helper_scripts-0.0.9.tar.gz.
File metadata
- Download URL: stackedup_helper_scripts-0.0.9.tar.gz
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b66a24e5aa4be227f8bb4eb6d99fbc25ae3ad8681733f0c2c44edd11851a15dc
|
|
| MD5 |
5f8c4e745506c50ddf1140ea34d898b3
|
|
| BLAKE2b-256 |
e022a785beccef9b96792588d5d3f21db02943869145832a02648a2394bf1934
|
Provenance
The following attestation bundles were made for stackedup_helper_scripts-0.0.9.tar.gz:
Publisher:
pypi-publish.yml on ombu/stackedup-helper-scripts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackedup_helper_scripts-0.0.9.tar.gz -
Subject digest:
b66a24e5aa4be227f8bb4eb6d99fbc25ae3ad8681733f0c2c44edd11851a15dc - Sigstore transparency entry: 390587780
- Sigstore integration time:
-
Permalink:
ombu/stackedup-helper-scripts@7cf5d2dead166322bebc3fbe427a53b063af114c -
Branch / Tag:
refs/tags/0.0.9 - Owner: https://github.com/ombu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@7cf5d2dead166322bebc3fbe427a53b063af114c -
Trigger Event:
push
-
Statement type:
File details
Details for the file stackedup_helper_scripts-0.0.9-py3-none-any.whl.
File metadata
- Download URL: stackedup_helper_scripts-0.0.9-py3-none-any.whl
- Upload date:
- Size: 72.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
500f411f23dcc52e3428546adfd636e5d5acbc4ba3a49e15df8a590ed9314b23
|
|
| MD5 |
36d4f06653618d580e37304c46f44969
|
|
| BLAKE2b-256 |
a062a79cb65e2b54849d042c46c657b7867783bd488f5c5cd37e374c075555e6
|
Provenance
The following attestation bundles were made for stackedup_helper_scripts-0.0.9-py3-none-any.whl:
Publisher:
pypi-publish.yml on ombu/stackedup-helper-scripts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stackedup_helper_scripts-0.0.9-py3-none-any.whl -
Subject digest:
500f411f23dcc52e3428546adfd636e5d5acbc4ba3a49e15df8a590ed9314b23 - Sigstore transparency entry: 390587806
- Sigstore integration time:
-
Permalink:
ombu/stackedup-helper-scripts@7cf5d2dead166322bebc3fbe427a53b063af114c -
Branch / Tag:
refs/tags/0.0.9 - Owner: https://github.com/ombu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@7cf5d2dead166322bebc3fbe427a53b063af114c -
Trigger Event:
push
-
Statement type: