bash-commons
bash-commons copied to clipboard
A collection of reusable Bash functions for handling common tasks such as logging, assertions, string manipulation, and more
**Describe the solution you'd like** Per [this discussion](https://github.com/gruntwork-io/knowledge-base/discussions/286), we need to develop an publicize a strategy for expanding support for distros such as Rocky Linux / AlmaLinux. Note that this...
Update deprecated circleci images to latest
When building a new AMI using a base image that is behind on security packages (e.g., ubuntu16.04 sql server image), there is oftentimes a race condition between the daily update...
See also https://github.com/gruntwork-io/terraform-aws-server/pull/130#discussion_r727239404 Now that we've migrated many of our repos over to use `bash-commons` as a dependency, we should think of a reasonable way to check / enforce the...
With [this PR](https://github.com/gruntwork-io/bash-commons/pull/38#issuecomment-940148157), we implemented support for AWS EC2 Instance Metadata Service version 2. See the following links for information on the difference between versions 1 and 2 and why...
Update all calls to use IMDSv2[1] which is a session-based rather than just simple request-response. This requires 2 changes: - Obtaining a session token from `/latest/api/token` - Passing this token...
WSL detection support.
Hi! Noticed this file so I figured I'd try implementing my favorite array method--reduce!
Removes myself from CODEOWNERS for the upcoming transition.