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.

Metadata

Release files for stackedup-helper-scripts 0.0.28

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.28
File Size Uploaded Provenance Actions
stackedup_helper_scripts-0.0.28.tar.gz 40.5 kB With provenance Details for stackedup_helper_scripts-0.0.28.tar.gz

Built distribution (wheel)

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

Total release size: 130.9 kB

Release files / stackedup_helper_scripts-0.0.28.tar.gz

Download URL stackedup_helper_scripts-0.0.28.tar.gz
Size 40.5 kB
Tags Source
SHA-256 checksum
How to use checksums
81ee7057b0f27b3c5b764919fc856e84a626e6da73cbb78e151de7debf61c669
BLAKE2b-256 checksum
How to use checksums
9a3fe1d732da0740636bc064d577e940a5f632f4ce8756f4ac0a27728ffe800a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

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

Download URL stackedup_helper_scripts-0.0.28-py3-none-any.whl
Size 90.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8924ec2179f55b475e9ca1e431253ec930b886a81d390c8e4576e64f0e823122
BLAKE2b-256 checksum
How to use checksums
06a6594d3dc7b5cf75abd00f679d094da84d3e644d473d6196b1e96edb7de8dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Security for stackedup-helper-scripts 0.0.28

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stackedup_helper_scripts-0.0.28.tar.gz

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 Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.28 This release

2 release files Full provenance

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