Skip to content

feat(opentofu): implement new opentofu init command

Description

  • feat(opentofu): implement new opentofu init command

This change set implements a new opentofu top-level command with a single subcommand init. It can be used to initialize a local OpenTofu or Terraform project with a GitLab-managed OpenTofu state.

Docs: https://docs.gitlab.com/user/infrastructure/iac/terraform_state/#set-up-the-initial-backend

Refs #7950 (closed)

Refs Add commands to support managing GitLab-managed... (#7954 - closed)

Related Issues

Resolves #7950 (closed)

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Timo Furrer

Merge request reports

Loading