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 3ea638a commit f6f44a5
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"

Check failure on line 2 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 2 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
homepage "https://www.terraform.io/"

Check failure on line 3 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 3 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
url "https://github.com/hashicorp/terraform.git",

Check failure on line 4 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 4 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
tag: "v1.9.5",

Check failure on line 5 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/HashAlignment: Align the keys and values of a hash literal if they span more than one line.

Check failure on line 5 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/HashAlignment: Align the keys and values of a hash literal if they span more than one line.
revision: "2770cb376c53a9ef6ea63482d7eaf83c0bfe887e"
license "Business Source License 1.1"

Check failure on line 7 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 7 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

depends_on "go" => :build

Check failure on line 9 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 9 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

def install

Check failure on line 11 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 11 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
ENV["CGO_ENABLED"] = "0"

Check failure on line 12 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 12 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
ENV["GOPATH"] = buildpath
system "go", "build", *std_go_args, "-ldflags", "-s -w -X main.version=#{version}", "-o", bin/"terraform", "."
end
end

Check failure on line 16 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

Layout/TrailingEmptyLines: Final newline missing.

Check failure on line 16 in Formula/terraform.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Layout/TrailingEmptyLines: Final newline missing.

0 comments on commit f6f44a5

Please sign in to comment.