Skip to content

superluminar-io/terraform-workshop

Repository files navigation

🎓 Terraform Workshop

Learn infrastructure as code basics w/ Terraform and AWS

The workshop empowers you to know the core concepts of infrastructure as code by using practical examples in Terraform. Learn how to create the first Terraform stack and deploy some resources to AWS. We explore best practices and improve the growing codebase over time.

✨ At a glance

  • ✅ Set up a new Terraform project from scratch
  • ✅ Get familiar with the Terraform Language
  • ✅ Manage Terraform state using a remote backend with AWS S3
  • ✅ Learn the fundamentals of module composition
  • ✅ Deploy multiple environments (e.g. staging and prod)
  • ✅ Implement a feature flag and learn more about parameterization

🤓 Labs

We recommend you walk through the labs step by step and follow the instructions. Feel free to further extend the stack, play around with resources and dive deeper. Have fun ✌️

  1. Boostrap Environment Please double-check the instructions and set up your working environment
  2. Getting Started: Get started with Terraform, deploy some AWS resources, and create a remote backend for the Terraform state
  3. Third Party: Use a third-party module to easily build and deploy an AWS Lambda function
  4. Module Composition: Improve the growing codebase by introducing custom modules and module composition
  5. Multi Environment: Make the Terraform configuration ready for a multi-environment setup
  6. Parameterization: Implement a feature flag and enable the new feature only on staging

📖 Further Reading

👩‍⚖️ License

See LICENSE.