العودة إلى الدورة

سير العمل: التخطيط (Plan)

احتراف البنية التحتية كبرمجيات (Terraform & OpenTofu)

Step 2: The Dry Run

One of the most powerful features of IaC is the ability to see what will happen before it happens.

Run: bash tofu plan

Reading the Output

  • +: Means a resource will be created.
  • -: Means a resource will be destroyed.
  • ~: Means a resource will be updated in place.

plan compares your code to the actual state of the world and tells you the difference. It changes nothing on your computer or the cloud yet.