From 0a16297967c3ed09bcf273efc55e5e0c84611fdd Mon Sep 17 00:00:00 2001 From: Alis Akers <94012653+alismx@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:03:00 -0500 Subject: [PATCH] =?UTF-8?q?Provider=20versions=20may=20increment=20patch?= =?UTF-8?q?=20=F0=9F=94=BC=20(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * allow patch versions to increment * fix ref for trivy job --- .github/workflows/trivy.yaml | 5 +---- provider.tf | 10 +++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 7bbeb6e..672cdcf 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -18,11 +18,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Run tflint - uses: ghcr.io/terraform-linters/tflint - - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@0.23.0 + uses: aquasecurity/trivy-action@0.28.0 with: scan-type: 'fs' scan-ref: . diff --git a/provider.tf b/provider.tf index 5542bae..bf58497 100644 --- a/provider.tf +++ b/provider.tf @@ -2,22 +2,22 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "5.56.1" + version = "~> 5.56.1" } dockerless = { source = "nullstone-io/dockerless" - version = "0.1.1" + version = "~> 0.1.1" } null = { source = "hashicorp/null" - version = "3.2.3" + version = "~> 3.2.3" } random = { source = "hashicorp/random" - version = "3.6.3" + version = "~> 3.6.3" } } - required_version = "1.9.0" + required_version = "~> 1.9.0" } provider "dockerless" {