Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Formatting

...

  • Use security groups to restrict traffic (e.g., only SSH or HTTPS).
  • Pin provider versions in main.tf for reproducibility.
  • Use terraform plan before every apply.
  • Always add informative tags (tags = {…}) for easier costs traceability and administration.
  • Consider versioning/backing up the main.tf  you created, as well as the terraform.tfstate file that resulted from the execution, using for example git, . This helps to avoid loosing track of your the resources' state.

...