From d5a29cf53b02ea93c7f853255e10e0f49d9351c0 Mon Sep 17 00:00:00 2001 From: Nuru Date: Sun, 24 Jul 2022 21:24:27 -0700 Subject: [PATCH] Disallow TLS provider v4 due to provider issue 244 (#158) --- README.md | 4 ++-- docs/terraform.md | 4 ++-- test/Makefile | 4 +++- versions.tf | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4cfa9b1f..4fc8fbfc 100644 --- a/README.md +++ b/README.md @@ -397,7 +397,7 @@ Available targets: | [aws](#requirement\_aws) | >= 3.38 | | [kubernetes](#requirement\_kubernetes) | >= 2.7.1 | | [null](#requirement\_null) | >= 2.0 | -| [tls](#requirement\_tls) | >= 3.1.0 | +| [tls](#requirement\_tls) | >= 3.1.0, < 4.0.0 | ## Providers @@ -406,7 +406,7 @@ Available targets: | [aws](#provider\_aws) | >= 3.38 | | [kubernetes](#provider\_kubernetes) | >= 2.7.1 | | [null](#provider\_null) | >= 2.0 | -| [tls](#provider\_tls) | >= 3.1.0 | +| [tls](#provider\_tls) | >= 3.1.0, < 4.0.0 | ## Modules diff --git a/docs/terraform.md b/docs/terraform.md index 6398d99d..03a72ced 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -7,7 +7,7 @@ | [aws](#requirement\_aws) | >= 3.38 | | [kubernetes](#requirement\_kubernetes) | >= 2.7.1 | | [null](#requirement\_null) | >= 2.0 | -| [tls](#requirement\_tls) | >= 3.1.0 | +| [tls](#requirement\_tls) | >= 3.1.0, < 4.0.0 | ## Providers @@ -16,7 +16,7 @@ | [aws](#provider\_aws) | >= 3.38 | | [kubernetes](#provider\_kubernetes) | >= 2.7.1 | | [null](#provider\_null) | >= 2.0 | -| [tls](#provider\_tls) | >= 3.1.0 | +| [tls](#provider\_tls) | >= 3.1.0, < 4.0.0 | ## Modules diff --git a/test/Makefile b/test/Makefile index 095a5b7c..5193cc62 100644 --- a/test/Makefile +++ b/test/Makefile @@ -33,7 +33,9 @@ clean: all: module examples/complete ## Run basic sanity checks against the module itself -module: export TESTS ?= installed lint module-pinning provider-pinning validate terraform-docs input-descriptions output-descriptions +# disable provider-pinning test due to https://github.com/hashicorp/terraform-provider-tls/issues/244 +#module: export TESTS ?= installed lint module-pinning provider-pinning validate terraform-docs input-descriptions output-descriptions +module: export TESTS ?= installed lint module-pinning validate terraform-docs input-descriptions output-descriptions module: deps $(call RUN_TESTS, ../) diff --git a/versions.tf b/versions.tf index 7e07d149..4aef8358 100644 --- a/versions.tf +++ b/versions.tf @@ -12,7 +12,7 @@ terraform { } tls = { source = "hashicorp/tls" - version = ">= 3.1.0" + version = ">= 3.1.0, < 4.0.0" } null = { source = "hashicorp/null"