Skip to content

virtualroot/asdf-opentofu

Repository files navigation

asdf-opentofu Build Lint

opentofu plugin for the asdf version manager.

Contents

Dependencies

  • bash, curl, unzip
    • cosign: (optional) If installed, asdf will perform signature verification

Install

Plugin:

asdf plugin add opentofu
# or
asdf plugin add opentofu https://github.com/virtualroot/asdf-opentofu.git

opentofu:

# Show all installable versions
asdf list-all opentofu

# Install specific version
asdf install opentofu latest

# Set a version globally (on your ~/.tool-versions file)
asdf global opentofu latest

# Now opentofu commands are available
tofu version

Check asdf readme for more instructions on how to install & manage versions.

Environment Variable Options

  • ASDF_OPENTOFU_SKIP_VERIFY: skip verifying checksums and signatures (default: false)

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Alejandro Lazaro