diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index d1df132..81c4112 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -5,8 +5,8 @@ on: branches: [ '**' ] jobs: - build: + test: uses: silinternational/workflows/.github/workflows/terraform.yml@main with: terraform-version: '~> 1.1' - directory: test + test-dir: test diff --git a/terraform/070-id-sync/versions.tf b/terraform/070-id-sync/versions.tf index 5a8d399..9ab05c5 100644 --- a/terraform/070-id-sync/versions.tf +++ b/terraform/070-id-sync/versions.tf @@ -6,13 +6,6 @@ terraform { source = "hashicorp/aws" version = ">= 4.0.0, < 6.0.0" } - cloudflare = { - source = "cloudflare/cloudflare" - - // 4.39.0 deprecated cloudflare_record.value - // While waiting for version 5 to mature, we'll constrain to earlier versions. - version = ">= 2.0.0, < 4.39.0" - } random = { source = "hashicorp/random" version = ">= 2.2.0, < 4.0.0" diff --git a/test/providers.tf b/test/providers.tf index 2ab3d9c..99af09b 100644 --- a/test/providers.tf +++ b/test/providers.tf @@ -1,9 +1,11 @@ terraform { required_version = ">= 1.0" required_providers { + # tflint-ignore: terraform_required_providers aws = { source = "hashicorp/aws" } + # tflint-ignore: terraform_required_providers cloudflare = { source = "cloudflare/cloudflare" }