Repository navigation
Releases: AutomateTheCloud/bamf
Releases · AutomateTheCloud/bamf
Release list
v1.0.0
Initial release.
Added
bamf.inc, the core library: logging, named exit codes, start and exit handling with signal traps, temporary files that are always removed, dependency checks, and helpers for strings, arrays, base64, files, and configuration.define_exit_code, so scripts can name their own exit codes in the 201–250 range.- Helper files (
helpers/bamf.<name>.inc) loaded by name throughREQUIRED_SOURCE_FILES, andadd_exit_function, to run a script's own cleanup however it exits. json_escape, to build JSON safely from any value, andrun_silently, to hide a command's output unless it fails.helpers/bamf.aws.inc: AWS CLI calls with retries (aws_cli), credential selection, EC2 instance metadata (IMDSv2), CloudFront, CodeDeploy (includingaws_codedeploy_wait_for_deployment), EC2, ENI, KMS envelope encryption of files, Route 53, S3, and SSM Parameter Store.bamf.curl.inc,bamf.docker.inc,bamf.git.inc,bamf.npm.inc,bamf.pkg.inc,bamf.tar.incandbamf.terraform.inchelper files.- Tests (bats-core) that run on bash 4.2 and 5.2, ShellCheck linting, and a CI workflow.
- Examples:
hello.sh,config_check.sh,pipeline.sh,cleanup_and_signals.sh,download_verify.sh,backup_to_s3.sh, and a set of AWS CodeDeploy hooks inexamples/codedeploy/. - The BAMF logo, at the top of the README, and its brand kit in
brand_kit/. The logos and the kit are not covered by the Apache License 2.0; seebrand_kit/NOTICE.md.