How to Invoke an AWS Lambda from the CLI
If you want to invoke an AWS Lambda from your CLI, then the best option is to have the AWS CLI installed.
Getting started with the AWS CLI – AWS …!-->
Read Article →In-depth guides, insights, and best practices for modern software engineering
If you want to invoke an AWS Lambda from your CLI, then the best option is to have the AWS CLI installed.
Getting started with the AWS CLI – AWS …!-->
Read Article →Sometimes you might want to exit a command if a variable is not set in Bash.
You can do this as follows:
if [ -z "$VARIABLE_NAME" ]; then echo …
Read Article →
if you have a conditional in your Gitlab pipeline stage that checks if something has succeeded or failed, then you can use this to pass or fail your …
Read Article →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 generate a random string that looks something like this: VUNBXJ-230411, then you can use the following random generator:
import random, …
Read Article →
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 are using S3 as the backend for your state management in Terraform, then you can create environment specific configuration files where you …
Read Article →Sometimes your infrastructure may be out of sync with your Terraform state because resources may have been amended or deleted manually.
For this you …
Read Article →There isn’t really a standard way to get the length of array in C. This means you need to do some additional work to achieve getting the length …
Read Article →If/Else statements are conditional statements that perform decisions based on some known state, or variable.
Terraform allows you to perform these …
Read Article →If you need to redo a Udemy course and you would like to reset the course’s progress, then you can use the following Javascript snippet below. …
Read Article →