How to run AWS CLI commands based on AWS CLI Version in Bash
If you find yourself having the requirements to support both AWS CLI v1 and v2 simultaneously, then you can use the following conditional in Bash to …
Read Article →130 articles about cli development, tools, and best practices
If you find yourself having the requirements to support both AWS CLI v1 and v2 simultaneously, then you can use the following conditional in Bash to …
Read Article →If you have tried calling the AWS CLI and got the following error:
Unknown options: --cli-binary-format
Then it is because you are using the AWS CLI …
If you need to check the version and flavour of the running Linux instance, then you can try the below commands:
cat /etc/os-release
lsb_release -a …
Read Article →
If you have tried to delete a Security Group, or VPC, or various other resources and you get the dreaded Network interface is in use by another …
We typically install an npm package as follows:
npm install <package_name>
But how do we uninstall an npm package?
If you need to count down a specific amount of time, say for example, when a token is set to expire, then a countdown timer will be useful.
If you want to rename a git branch, then you have a few options, dependent on the use-case.
git branch -a …
Read Article →
If you are using PowerShell and trying to run a terraform init, you may get an error as follows:
Error: error accessing remote module registry
Failed …
You have 3 options here:
tee with sedsed 's/Hello/Hi/g' file-name | tee file
> with sedsed …
Read Article →
In your source account create a customer-managed policy:
{
"Version": "2012-10-17",
"Statement": [
{ …
Read Article →
If you need to recursively find all symbolic links in a directory tree on a Mac, then you have a couple of options.
You could be trying to find them …
Read Article →You can follow the steps below to install App Mesh on AWS EKS (Kubernetes).
curl -o pre_upgrade_check.sh …
Read Article →