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" {