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

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.24
File Size Uploaded
stackedup_helper_scripts-0.0.24.tar.gz 40.2 kB Details

Built distribution (wheel)

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

Total release size: 130.5 kB

Release files / stackedup_helper_scripts-0.0.24.tar.gz

Download URL stackedup_helper_scripts-0.0.24.tar.gz
Size 40.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4ddd7962bd4ed0ddd0979ffcfc90fba3234bb62351855683486e7252d28c07b5
BLAKE2b-256 checksum
How to use checksums
3b2de50bf84b4aa91620922ba0f2cfd325e28a616b65858defd75fad5ede181f
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 16, 2026.

Transparency log

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

Download URL stackedup_helper_scripts-0.0.24-py3-none-any.whl
Size 90.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
500ae53324bce06b08a84783c6fb7c2e8c46aedeb98e183f0e47e65283f40f89
BLAKE2b-256 checksum
How to use checksums
a142a282f6a4a14f38d9335f63512f9a7dee2dbd5cd83225250303daa5c024e8
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

This release

0.0.24 This release

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