GitHub Actions with AWS and Terraform
medium
ci cd ready
cloud lab
terraform fmt -check
Use the guide first.
The full learning guide is on this page. Open the repository files only when a step asks you to inspect code, fork the project, or download raw assets.
Project Guide
Section titled βProject Guideβ
π Repository to demonstrate Infrastructur-As-Code using:
Section titled βπ Repository to demonstrate Infrastructur-As-Code using:β Github Actions Pipelines AWS Terraform + Terraform Cloudπ Task Workflow
Section titled βπ Task Workflowβ
π‘οΈ 2026 DevSecOps Enhancements (What You Will Learn)
Section titled βπ‘οΈ 2026 DevSecOps Enhancements (What You Will Learn)βThis repository leverages Terraform Cloud within the CI/CD pipeline, fulfilling a critical DevSecOps requirement: Secure Remote State Management. By utilizing Terraform Cloud (or an S3 backend with DynamoDB locking and KMS encryption), we guarantee that sensitive infrastructure state files (which often contain plaintext secrets, database passwords, and private IPs) are never committed to version control or left exposed on a Jenkins/GitHub Actions runner.
π AWS Components Used
Section titled βπ AWS Components UsedβVirtual Private Cloud (VPC)Public SubnetsEC2 InstanceInternet Gateways (IG)Security Groups (SG)Elastic Container Registry (ECR)Elastic Container Service (ECS) + FargateAuto Scaling Group (ASG)
π Project Info
Section titled βπ Project Infoβ
π License
Section titled βπ LicenseβCopyright Β© 2022, Harshhaa Reddy. Released under the GNU Affero General Public License v3.0.