Skip to content

[BUG] unable to parse version from "TrueNAS-25.10.1" #2

@jonas-budde

Description

@jonas-budde

First of all, thank you for creating this provider!
When using it, I currently get the following error:

│ Error: Unable to Connect to TrueNAS
│
│   with provider["registry.terraform.io/deevus/truenas"],
│   on /../provider.tf line 35, in provider "truenas":
│   35: provider "truenas" {
│
│ unable to parse version from "TrueNAS-25.10.1"

I think it could be due to the regex that checks the version of TrueNAS.
My version only has 3 digits: Major.Minor.Patch and not Build.
Perhaps the build digit could be made optional.

truenas_admin@truenas[~]$ midclt call system.version
TrueNAS-25.10.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions