Snippets

Improve your bash scripts with this boilerplate template

snippets bash
Bash is a finnicky beast. Use this template to make your scripts behave more reliably.


How to generate temporary download links to S3 objects

aws security snippets
Pre-signed URLs are a great way to share large files without giving the recipient permanent access. Learn how to use the AWS CLI to create links that expire after a certain amount of time.


AWS KMS cryptographic operations on the command line

aws security snippets
Leverage AWS KMS on the command line using these simple commands.


How to use count with data resources in Terraform

hashicorp terraform snippets
Terraform allows you to loop over resources using the count parameter, including data resources.