mw gitlab opentofu init
Releasev0.35.0 · cfeceb67
mw gitlab opentofu init <state> [flags]Initialize OpenTofu or Terraform.
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”# Initialize state with name production in working directory$ glab opentofu init production
# Initialize state with name production in infra/ directory$ glab opentofu init production -d infra/
# Initialize state with name production with Terraform$ glab opentofu init production -b terraform
# Initialize state with name production with reconfiguring state$ glab opentofu init production -- -reconfigureSee also
Section titled “See also”Page views: —Sessions: —