Manifests/HashicorpTerraform.json

{
    "Name": "Hashicorp Terraform",
    "Source": "https://www.terraform.io/",
    "Get": {
        "Update": {
            "Uri": "https://api.github.com/repos/hashicorp/terraform/releases/latest",
            "MatchVersion": "(\\d+(\\.\\d+){1,4}).*",
            "MatchFileTypes": "\\.exe$"
        },
        "Download": {
            "Uri": {
                "x64": "https://releases.hashicorp.com/terraform/#version/terraform_#version_windows_amd64.zip",
                "x86": "https://releases.hashicorp.com/terraform/#version/terraform_#version_windows_386.zip"
            },
            "ReplaceText": "#version"
        }
    },
    "Install": {
        "Setup": "terraform*.zip",
        "Physical": {
            "Arguments": "",
            "PostInstall": []
        },
        "Virtual": {
            "Arguments": "",
            "PostInstall": []
        }
    }
}