Skip to main content

Stacks Helper Scripts

main

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.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stackedup-helper-scripts 0.0.26
File Size Uploaded
stackedup_helper_scripts-0.0.26.tar.gz 40.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stackedup-helper-scripts 0.0.26
File Interpreter ABI Platform
stackedup_helper_scripts-0.0.26-py3-none-any.whl Python 3 none any Details

Total release size: 130.6 kB

Release files / stackedup_helper_scripts-0.0.26.tar.gz

Download URL stackedup_helper_scripts-0.0.26.tar.gz
Size 40.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ed8c3607b91e764d1c1ee9d77ad6c54e623e0d6011e822dd49236262418db0ed
BLAKE2b-256 checksum
How to use checksums
36d2ec456727763b53c1797d4d11d08305263a20adfcf37c2a5f4718332916e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 21, 2026.

Transparency log

Release files / stackedup_helper_scripts-0.0.26-py3-none-any.whl

Download URL stackedup_helper_scripts-0.0.26-py3-none-any.whl
Size 90.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8ee934ae22114c2d072a8eb6dd957666f2e1014c4758ecd3e13e43957fc6169
BLAKE2b-256 checksum
How to use checksums
6adc7a03007af24f76b9ea3527b7f8266e4f8ead08ae6798ee001634bc5e3506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.27

2 release files

This release

0.0.26 This release

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page