Recently, there is an initiative to tighten up security control on terraform deployment. In this post, I will demo how to use provider alias and tell terraform to switch role for resource management
Recently, there is an initiative to tighten up security control on terraform deployment. In this post, I will demo how to use provider alias and tell terraform to switch role for resource management
Working with encrypted files can be troublesome at times. Thanks to James McCoy, there is a plugin for vim that makes the task so much easier.
In this page, I will show you how to adjust the brewing pressure of Lelit PL92t.
I was working on a terraform module that creates cloudwatch alarms. AWS uniquely identifies metric with dimensions. All dimensions must be supplied to select the metric. In this case, the dimension comes from CWAgent and terraform external data source is used to obtain the dimension. A bit of jq work is needed to transform the…
On systems where memory is limited – be that a SOC compute or a low-end virtual machine, enable zswap gives you more usable memory. This is similar to Stacker which compress your data and let you have more space. Back in those days, hard drives were measures in MB!
Wonder if your NVME SSD is reaching retirement age? Follow these simple steps to get an idea.
Terraform itself does not have the capability to delete default VPCs. In this example, I will use terraform and a shell script to perform the deletion.
I got my U2F key for use with online accounts. It is cheaper than the popular Yubikey and it works well. Did you know you can use it for sudo or pam authentication? Here is how.
If you have 10s of security group rules, it’s not effective to use aws_security_group_rule directly. Here I use a map and feed it to a module.
Today, I found out my domain one.27 is offline. Took me a while to figure out freenom might have deleted my domain for unknown reasons. Fortunately, this is just a personal blog. Nothing important runs off this domain. Spent half hour to reconfigure my cloudflared argo tunnel and changed the header image. Everything is back…