Belajar Sendiri

Commands

tofu apply

tofu apply [-var name=value] [-var-file=FILE] [PLAN FILE]

Risk: Careful

What it does

Builds or changes real things to match the blueprint. It shows the plan and asks first.

When to use it

After you read the plan and it looks right.

Example

$ tofu apply

Show the plan, then build it if you type yes.

$ tofu apply tfplan

Apply exactly the plan you saved and read.

$ tofu apply -auto-approve

Careful: no question. Only for practice or a pipeline that showed a plan first.