Skip to content

Commit 4501f8d

Browse files
committed
Add driftignore file to speed up tests
1 parent 0d863d5 commit 4501f8d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/driftctl-action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
AWS_REGION: us-east-1
2222
DCTL_NO_VERSION_CHECK: true
2323
DCTL_FROM: "tfstate://tests/terraform.tfstate"
24+
DCTL_DRIFTIGNORE: "tests/.driftignore"
2425
DCTL_FILTER: "Type=='unknown_type'" # Makes driftctl to exit 0 each time
2526

2627
test-matrix:
@@ -40,6 +41,7 @@ jobs:
4041
AWS_REGION: us-east-1
4142
DCTL_NO_VERSION_CHECK: true
4243
DCTL_FROM: "tfstate://tests/terraform.tfstate"
44+
DCTL_DRIFTIGNORE: "tests/.driftignore"
4345
DCTL_FILTER: "Type=='unknown_type'" # Makes driftctl to exit 0 each time
4446
with:
4547
version: ${{ matrix.version }}

tests/.driftignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*

0 commit comments

Comments
 (0)