Day 2 – Terraform Providers and Versioning Explained with Real AWS Deployment
Introduction On Day 2 of my 30-Day AWS Terraform Challenge, I moved from understanding concepts to actually running Terraform against AWS. This day focused on Terraform Providers, versioning, and why controlling versions is critical when working with Infrastructure as Code. More importantly, I successfully created real AWS resources using Terraform. AWS Configuration Before running Terraform, I configured AWS CLI to allow my local environment to connect to my AWS account. First, I installed AWS CLI and verified it. Then I configured credentials as below. This confirmed that my local machine was successfully authenticated with AWS. What are Terraform Providers Terraform providers act as a bridge between Terraform and external systems like AWS. Terraform itself does not directly create resources. Instead, it uses providers such as the AWS provider to communicate with cloud APIs. For AWS, the provider used is hashicorp/aws . Terraform Core vs Provider Version O...