diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index d75a254..1f425d9 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -71,6 +71,7 @@ jobs: fi - name: Validate terraform state changed run: | + cd .github/build_tests CURRENT_NULL_RESOURCE_ID=$(echo '${{env.TFSTATE}}' | jq -r '.resources[] | select(.type == "null_resource") | .instances[].attributes.id') terraform apply --auto-approve NEW_NULL_RESOURCE_ID=$(curl -sS http://localhost:2442/?env=InT | jq -r '.resources[] | select(.type == "null_resource") | .instances[].attributes.id')