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 scripts
@ln -s -f -n ${PKG_LOCATION}/tasks tasks
@ln -s -f -n ${PKG_LOCATION}/templates templates
Add /infrastructure/scripts to .gitignore
Template changes:
Re-home CodeUri in Properties sections to refer to the infrastructure/scripts
directory.
Types of scripts
account_cost
Account cost alam features a lambda that will get the current estimated costs of an account and alert a specified SNS Topic.
cloudformation_update
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
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
This script sends a notification to SNS when an ECR image is built.
email_notification
This script sends email to recipients from an SNS topic.
force_deploy
When a ECS task is configured to have force deployment of the current 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.
instance_refresh
This script refreshes the CloudFormation stack with a new AMI.
reset_task_notification
This script sends a SNS notification when the reset task is requested.
slack_notification
This script sends a Slack notification to a webhook endpoint from an SNS topic.
sns_relay
SNS Relay will reformat an alarm messages sent when an alarm triggers and hand it off to another SNS Topic for delivery.
web_deploy
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.
Release files for stackedup-helper-scripts 0.0.23
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stackedup_helper_scripts-0.0.23.tar.gz | 39.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stackedup_helper_scripts-0.0.23-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 129.9 kB
Release files / stackedup_helper_scripts-0.0.23.tar.gz
| Download URL | stackedup_helper_scripts-0.0.23.tar.gz |
|---|---|
| Size | 39.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
151082853560bc9df4cf712cc51658e438b7fbaec663cd94ff7d5aed459520d6
|
|
BLAKE2b-256 checksum How to use checksums |
dff0be7488e10a940f54e87ce21e1c680d837653e345e030148cc7af9b574037
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency logRelease files / stackedup_helper_scripts-0.0.23-py3-none-any.whl
| Download URL | stackedup_helper_scripts-0.0.23-py3-none-any.whl |
|---|---|
| Size | 90.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e097f58e998fbf49fb5f703639077086e663db254013aaef020df105b612816f
|
|
BLAKE2b-256 checksum How to use checksums |
a3392d588c02438fb56e7d6b0becdef9fa97c78262f87e0a8a25e9f1245d231e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.
Transparency log