True or False? Running a terraform apply will fail if you do not run a terraform plan first.
Jump to navigation
Jump to search
False. You do NOT need to run a terraform plan before running terraform apply. When you execute a terraform apply, it will actually run its own "plan" to make sure it knows what resources to update.
The most straightforward way to use terraform apply is to run it without any arguments at all, in which case it will automatically create a new execution plan (as if you had run terraform plan) and then prompt you to approve that plan, before taking the indicated actions.
Advertising: