Introduction
When writing Terraform code, you often need to add notes or explanations to make your code easier to understand. Comments let you do this without affecting how Terraform runs your code.
When you want to explain why a resource is configured a certain way.
When you need to temporarily disable a line of code without deleting it.
When you want to leave reminders for yourself or others about future changes.
When you want to clarify complex expressions or variable usage.
When you want to document the purpose of a module or resource block.