Removing template_file from terraform state

I've run into this issue a few times so recording here for future reference. template_file has been deprecated in terraform but I occasionally perform a terraform init before realising that there is a template_file command in the code. I get the... » More

Add Auth to Prometheus Container

Using docker-compose to run a prometheus container that I wanted basic auth added to. My docker-compose file is shown below: version: '3' volumes: prometheus-data: driver: local services: prometheus: image: prom/prometheus:latest... » More

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