Member-only story

Creating an S3 Bucket using Terraform

Evan Selunani
3 min readDec 20, 2024

--

Happy Holidays mate! We are using Terraform to create an S3 bucket on AWS today. The goal is to install and set up Terraform, troubleshoot any errors, and successfully apply the Terraform configuration to launch the bucket.

Step 1: Install Terraform on Your Local Machine

  1. What is Terraform? Terraform is an Infrastructure as Code (IaC) tool that allows you to define and manage your cloud infrastructure using code. It supports multiple cloud providers, including AWS.
  2. Download the Terraform Binary — Visit the Terraform website to download the appropriate Terraform binary for your system.
  • 386 vs. x64 Architecture:
  • x64 (amd64) is for 64-bit systems (most modern PCs).
  • 386 is for 32-bit systems (less common).

Extract the file into your C:\ terraform directory.

3. Move the Binary to Your PATH (For Windows Users)

Navigate to Advanced system settings > Environment Variables. In the System variables section, find and edit the Path variable.

— Add the directory where the terraform.exe binary is located (e.g., C:\terraform).

— Launch a new terminal session to apply the changes.

--

--

Evan Selunani
Evan Selunani

Written by Evan Selunani

Transforming the world, one keystroke at a time.| Certified AWS Cloud Practitioner.

No responses yet