FahamLah

Commands

tofu providers lock

tofu providers lock [-platform=os_arch …]

Risk: Safe

What it does

Writes provider checksums into the lock file, for the platforms you name.

When to use it

When a teammate or CI runs on another kind of computer.

Example

$ tofu providers lock -platform=linux_amd64 -platform=darwin_arm64

Checksums for Linux runners and Apple laptops.