...
- 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 theterraform.tfstate
file that resulted from the execution, using for example git, . This helps to avoid loosing track of your the resources' state.
...