This command initializes your Terraform working directory. It downloads the necessary provider plugins (like Digital Ocean, AWS, etc.) and sets up the environment to work with your configuration.
terraform plan
This command creates an execution plan, showing what actions Terraform will take to reach the desired state as defined in your configuration files.
terraform apply -auto-approve
This command applies the changes required to reach the desired state of the configuration. It provisions and manages your infrastructure according to your Terraform code.
terraform destroy -auto-approve
This command destroys all infrastructure managed by your Terraform code. It deletes all resources, effectively tearing down everything that was previously created.
Want to print your doc? This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (