Entries from 2025-09-01 to 1 month
Understanding the behavior of Terraform's one() function. Introduction Understanding the Behavior of one() Specification of one() Examples When to Use one() Conclusion References Introduction Terraform provides a one() function. Because th…
This post explains how to output a resource in Terraform when its creation is controlled using the count parameter. Introduction Outputting Resources Controlled by count Method 1: Use the one Function Method 2: Use the try Function Conclus…
Here's a quick memo on converting webp to png/jpeg with the ffmpeg command. Introduction Convert WebP to PNG or JPEG Using ffmpeg How to Do It Try It Conclusion References Introduction Sometimes you need to convert images in WebP format to…
This post summarizes how to perform AssumeRole using Boto3. Introduction Assuming Roles with Boto3 Implementing the AssumeRole function Example Usage Conclusion References Introduction There are many situations where you need to AssumeRole…
This post introduces a convenient way to automate git commit using a custom slash command in Claude Code. Introduction Auto-Commit with a Custom Slash Command in Claude Code How to Do It Example Conclusion References Introduction Writing a…
This post is a quick memo on how to create custom slash commands in Claude Code. Introduction What Are Custom Slash Commands in Claude Code? How to Create Custom Slash Commands Basic Syntax and Example Commands Prompt Only Arguments Runnin…
This is a quick memo on how to bulk delete all your chat history in Claude. Introduction How to Bulk Delete All Chats in Claude Steps Example Conclusion References Introduction Lately, I've been using Claude more often than ChatGPT. I coul…
This post summarizes how to get the exit status from commands in a pipeline. Introduction How to Get Exit Statuses from a Pipeline Using PIPESTATUS Using set -o pipefail Conclusion References Introduction When you try to get the exit statu…
This post explains the CloudFormation template that sets up the backend (S3/DynamoDB) to store Terraform state. Introduction CloudFormation Template to Provision Terraform Backend Conclusion References Introduction How to provision the bac…
This is a quick note on how to output DEBUG-level logs using the AWS CLI. Introduction Outputting DEBUG-Level Logs with AWS CLI How to do it Example Execution Conclusion References Introduction There are times when you want to run AWS CLI …
This is a quick memo on how to retrieve all AWS service names (subcommands) provided via AWS CLI. Introduction How to List All Available Services in AWS CLI Method Example Conclusion References Introduction Sometimes you might want to list…
How to fix the issue where searching with grep the output of aws help doesn't work as expected? Introduction Why You Can't Grep AWS CLI Help Output Cause Solution Example Conclusion References Introduction When you try to grep or use sed o…