Belajar Sendiri

Commands

tofu init

tofu init

Risk: Safe

What it does

Gets the providers a blueprint needs and writes the lock file.

When to use it

First, in a new folder. Again after you add a provider.

Example

$ tofu init

Get the suppliers ready for this folder.

$ terraform init

The same job in Terraform.

$ tofu init -upgrade

Pick the newest provider versions your pins allow.