UNPKG

@jahed/terraform

Version:

A wrapper which downloads and runs Terraform locally via npm.

9 lines (8 loc) 380 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDownloadUrl = void 0; const getDownloadFilename_1 = require("./getDownloadFilename"); const getDownloadUrl = (args) => { return `https://releases.hashicorp.com/terraform/${args.version}/${(0, getDownloadFilename_1.getDownloadFilename)(args)}`; }; exports.getDownloadUrl = getDownloadUrl;