Add AWS CLI to Alpine Linux

Linux Voice Issue 1 I seem to regularly look this one so adding it here for future reference. apk add --no-cache python3 py3-pip && pip3 install --upgrade pip && pip3 install --no-cache-dir awscli && rm -rf /var/cache/apk/*

Decrypting Terraform Output with Keybase

In my terraform code I have: resource "aws_iam_access_key" "this" { user = aws_iam_user.this.name pgp_key = "keybase:jonnymccullagh" } And after running the terraform apply I get an encrypted IAM secret key. To decrypt the string: echo... » More

Use Docker Registry in Podman

By default podman needs the full URL to pull in a docker image. So instead of: podman pull budibase/budibase you need: podman pull registry.hub.docker.com/budibase/budibase To configure podman to to check the docker registry by default... » More

AWS Secrets Manager for EKS Env Variables

With an EKS cluster created I followed the AWS instructions for integrating secrets manager so I could pull secrets and use them as environment variables in pods. The secrets were mounted fine and I could cat them out when exec'ing into the... » More

Install MariaDB on MacOSX

Using brew to install MariaDB: brew install mariadb To manage the service use 'brew services' e.g brew services restart mariadb Notice that the install ran the following: /opt/homebrew/Cellar/mariadb/10.8.3/bin/mysql_install_db --verbose... » More

Hashicorp Nomad Dev Install on Debian

Ensure the deb repo is configured and install nomad: curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" sudo apt-get update... » More

Packer HCL Environment Variables

Converting Packer templates from json to HCL for Packer version 1.7.2. The easiest thing to do is try the automated conversion: packer hcl2_upgrade -output-file=template-converted.pkr.hcl template.json For environment variables we need to set them... » More