Cheatsheet on Terraform

Cheatsheet on Terraform

Key Concepts

  • Infrastructure as Code (IaC): Manage your physical infrastructure through code similar to how software is managed.
  • Providers: Plugins for accessing and managing resources in a specific cloud provider (e.g., AWS, Azure, Google Cloud).
  • Resources: Components of your infrastructure, like virtual machines, networks, or databases.
  • Modules: Reusable, encapsulated Terraform configurations for organizing and packaging code.
  • State: Terraform tracks the state of your managed infrastructure and configuration.

Basic File Structure

  • main.tf: Main file for Terraform configurations.
  • variables.tf: Optional file to define variables.
  • outputs.tf: Optional file to define outputs.
  • provider.tf: Optional file to define providers.

Please read more on this click here

https://awstrainingwithjagan.com/terraform-cheat-sheet-beginners/

Alexander Sharov

Lead DevOps Engineer, Co-Founder of ReferrsMe & CrowdFind, tofuutils/tenv maintainer

5 个月

And you can also use tenv to switch between different Terraform versions: https://github.com/tofuutils/tenv

回复

要查看或添加评论,请登录

社区洞察

其他会员也浏览了