Skip to content

0.1.6

Compare
Choose a tag to compare
@theothertomelliott theothertomelliott released this 03 May 18:34
eb64649

Patch release to add more versions of Terraform before 0.2.x.

Adding to your Workspace

To use this version, add the following lines to your WORKSPACE file:

# Import http_archive if not already in use
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# Add Terraform rules as repository
http_archive(
    name = "tf_modules",
    urls = ["https://github.com/theothertomelliott/bazel-terraform-rules/releases/download/0.1.6/bazel-terraform-rules-0.1.6.tar.gz"],
)
load("@tf_modules//toolchains/terraform:toolchain.bzl", "register_terraform_toolchain")

load("@tf_modules//:deps.bzl", "bazel_terraform_rules_deps")
bazel_terraform_rules_deps()

# Register required Terraform versions
register_terraform_toolchain("1.2.3", default=True)