Fix Terraform not running even when added to Path Environment Variable in Windows 11

I have experienced that when I did the normal steps in installing terraform, the Command Prompt, PowerShell, and Git Bash still did not recognize the terraform command in Windows 11. Even when I already added the terraform.exe location in the Path Environment Variable.

It is just annoying when this happens, luckily I was able to resolve this issue.

Note: The instructions are for Windows 11, but these steps will also work in Windows 10.

Continue reading Fix Terraform not running even when added to Path Environment Variable in Windows 11

How to install Terraform in Windows 11

I have been using Terraform for a while to launch my infrastructure in AWS, Google Cloud, and Azure and I am loving it since I do not need to learn different sets of languages or syntax for different Cloud Providers.

My only challenge when it comes to Terraform is that the installation instruction in the terraform site is not as detailed as I want it to be.

So here’s a tutorial on how to install Terraform in Windows 11 and make it work in Command Prompt, Powershell, and Git Bash with instructions and screenshots you can follow.

Note: You can also follow these steps for Windows 10.


  1. Download Terraform binary for Windows
  2. Extract terraform.exe
  3. Add Terraform folder in Path Environment Variable
  4. Testing terraform Command

1. Download Terraform binary for Windows

Go to terraform.io/downloads.html, then scroll down and look for the Windows section. Click on 64-bit.

This will start the download of the zip file that contains the terraform.exe binary.

Continue reading How to install Terraform in Windows 11

How to remove the Taskbar Chat and Widgets icon in Windows 11

When I switched to Windows 11 I had to adjust to the changes in the Taskbar. One of the things that I do not find useful is the Widgets and Chat icon in the Taskbar.

If you want to remove the Widgets and Chat icon in the Taskbar follow the steps below.

Continue reading How to remove the Taskbar Chat and Widgets icon in Windows 11

How to move the Taskbar Icons to the left in Windows 11

If you’re like me who just recently switched to Windows 11, you might find the taskbar icons in the center a little awkward.

If you want to move the taskbar icons to the left, just like in their original position in Windows 10, then just follow the steps below.

Continue reading How to move the Taskbar Icons to the left in Windows 11

How to reverse the F-Keys of Logitech K380 Keyboard

I have been using my Logitech K380 Keyboard for about a week now and I’m very happy with it.

I like it because it is quiet, has some weight on it and it can connect and quickly switch to 3 devices with a press of the button.

When I received it when I press the F-keys, its default behavior is to use alternate functions like control the volume and media.

If I wanted to use F1 or F2 I have to click on the fn key then press the F-key. As someone who uses a lot of the F-keys due to my work, this is annoying.

Luckily, I was able to solve this issue by reversing the behavior of the F-keys. Now when I press the F11 to full screen my chrome browser it will work without pressing the fn key.

I think some people call this process Fn Lock

Follow the instructions below to reverse the behavior of the F-keys.

Continue reading How to reverse the F-Keys of Logitech K380 Keyboard

How to get the AWS Region where Node.js Lambda Function is running

To get the AWS Region where your Lambda Function is running we need to access the Environment Variable AWS_REGION.

To access the environment variable AWS_REGION using Node.js Lambda Function we can use process.env.AWS_REGION.

Continue reading How to get the AWS Region where Node.js Lambda Function is running

Access AWS Lambda Environment Variables using Node.js

If you want to get the values of Environment Variables in AWS Lambda using Node.js runtime follow the instructions below.

Node.js Code to Access Environment Variables

To access the Environment Variables of Lambda Functions using Node.js or javascript simply use the code below.

const environmentVariable = process.env.ENVIRONMENT_VARIABLE

Let’s say that my environment variable has a name of DB_USER, I will use the code below to get its value.

Continue reading Access AWS Lambda Environment Variables using Node.js

How to Disable Screen Sleep in Raspberry Pi

If you have been using a Raspberry Pi, you might have encountered that the screen sleeps or turns off after some time when you do not use the mouse or keyboard.

The turning off of the display when there is no activity in Raspberry Pi is called Screen Blanking. By default this is enabled.

Screen Blanking or sleeping is good if you want to save power, but distracting (sometimes annoying) if you are doing something in the Raspberry Pi.

To turn this feature off you do not have to install xscreensaver, you only need to disable it in the Raspberry Pi Configuration.

Follow the steps below to disable screen sleeping of your Raspberry Pi.


Steps to disable Screen Blanking or Sleeping with the Raspberry Pi

Click on the Menu button on the upper right (Raspberry Pi Icon) >> Preferences >> Raspberry Pi Configuration.

Continue reading How to Disable Screen Sleep in Raspberry Pi

How to access the C: Drive in Amazon Workspaces

The C: Drive or root volume in AWS Workspaces cannot be seen if you open File Explorer.

This post will show how you can access the C: Drive when it is not shown.

If you want the C: Drive to be shown permanently then reading my post about it here will help.

Below are three ways you can access the C: Drive.


Access C: Drive with Windows File Explorer

To access C: Drive with Windows File Explorer, go to the address bar and enter C:. This will bring you to the C: Drive.

Continue reading How to access the C: Drive in Amazon Workspaces