We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b4119a + 4263b41 commit f40b6cdCopy full SHA for f40b6cd
misc/null-fail-by-variable/README.md
@@ -0,0 +1 @@
1
+A template used to simulate a failure using the `SHOULD_PASS` environment variable.
misc/null-fail-by-variable/env0.yml
@@ -0,0 +1,6 @@
+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
@@ -0,0 +1,2 @@
+resource "null_resource" "null" {
+}
0 commit comments