Skip to content

Commit

Permalink
Update actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Sep 10, 2024
1 parent e71df1d commit c4bfe1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- name: Generate Matrix
id: matrix
uses: Invicton-Labs/terraform-module-testing/matrix@dev
uses: Invicton-Labs/terraform-module-testing/matrix@v0.2.2
with:
minimum_tf_version: '1.9.5'

Expand All @@ -28,12 +28,12 @@ jobs:
steps:
- name: Initialize - Pass
id: init
uses: Invicton-Labs/terraform-module-testing/initialize@dev
uses: Invicton-Labs/terraform-module-testing/initialize@v0.2.2
with:
tf_path: tests
- name: Run Tests - Pass
id: tests
uses: Invicton-Labs/terraform-module-testing/apply-destroy@dev
uses: Invicton-Labs/terraform-module-testing/apply-destroy@v0.2.2
with:
tf_path: tests

Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ data "external" "create_file_chunk" {
}
)
// Force the data source to wait for the apply, if that is what is desired
working_dir = (jsonencode(var.dynamic_depends_on) != "" ? true : false) && ((var.force_wait_for_apply ? uuid() : "") == "") ? "${path.module}/tmpfiles" : "${path.module}/tmpfiles"
working_dir = (md5(jsonencode(var.dynamic_depends_on)) != md5("") ? true : false) && ((var.force_wait_for_apply ? uuid() : "") == "") ? "${path.module}/tmpfiles" : "${path.module}/tmpfiles"
}

data "external" "delete_file" {
Expand All @@ -102,7 +102,7 @@ data "external" "delete_file" {

// The ternary is to force the data source to wait for all dependencies to be done before evaluating.
// Since it's jsonencoding a list, it will never be an empty string, but the runtime doesn't know that...
query = jsonencode(var.delete_after) != "[]" ? (local.is_windows ?
query = md5(jsonencode(var.delete_after)) != md5("") ? (local.is_windows ?
merge(
local.query,
{
Expand Down

0 comments on commit c4bfe1d

Please sign in to comment.