Skip to content

Commit f40b6cd

Browse files
Merge pull request #223 from env0/chore-copy-null-usable-based-on-env-var
chore: checkout misc/null-usable-based-on-env-var from workflow-integration-test-v2.1
2 parents 9b4119a + 4263b41 commit f40b6cd

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
A template used to simulate a failure using the `SHOULD_PASS` environment variable.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 1
2+
deploy:
3+
steps:
4+
setupVariables:
5+
after:
6+
- if [ -z "$SHOULD_PASS" ]; then echo "SHOULD_PASS must be supplied" 1>&2 && exit 1; fi

misc/null-fail-by-variable/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
resource "null_resource" "null" {
2+
}

0 commit comments

Comments
 (0)