Skip to content

Commit

Permalink
feat(terraform): add terraform v1.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tgragnato committed Sep 7, 2024
1 parent 0f63b73 commit b211aca
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Formula/terraform.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class Terraform < Formula
desc "Automate infrastructure on any cloud with Terraform"
homepage "https://www.terraform.io/"
url "https://github.com/hashicorp/terraform.git",
tag: "v1.9.5",
revision: "2770cb376c53a9ef6ea63482d7eaf83c0bfe887e"
license "BUSL-1.1"

depends_on "go" => :build

def install
ENV["CGO_ENABLED"] = "0"
ENV["GOPATH"] = buildpath
system "go", "build", *std_go_args, "-ldflags", "-s -w -X main.version=#{version}", "-o", bin/"terraform", "."
end
end

0 comments on commit b211aca

Please sign in to comment.