With a list of 500,000 CouchDB endpoints to hit for info I wanted to speed up the process. There are multiple ways to do that but queues and threads worked fine for me. import queue import threading from cloudant.client import Cloudant # Replace the... » More
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
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
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/*
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
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
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
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