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 →149 articles about aws 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 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 …
In your source account create a customer-managed policy:
{
"Version": "2012-10-17",
"Statement": [
{ …
Read Article →
I have a parent directory containing multiple sub-directories. Each of these child directories is a different application and contains a Dockerfile.
I …
Read Article →eksctl dramatically simplifies the creation of AWS EKS clusters, by providing a simple command-line interface.
You can …
Read Article →You can use the aws cli to get the EKS cluster name, parse the first result and return it into a variable.
EKS_CLUSTER_NAME=$(aws eks list-clusters …
Read Article →
You can download and install the AWS CLI on Linux as follows:
curl …
Read Article →
When you launch an EC2 instance, you can use the user-data to bootstrap a instance creation script.
We can use the following code to start a web …
Read Article →Ever searched for kubectl update config from aws eks and needed a quick result?
Make sure that you have valid AWS …
Read Article →If you have received the following error while trying to issue commands to kubectl:
Unable to connect to the server: dial tcp: lookup
Then it may be …
Read Article →Storing Terraform states files locally is not recommended. Instead you should use a backend such as as S3 from AWS.
To do this, you just need to add …
Read Article →