github.com/opentofu/opentofu@v1.7.1/internal/configs/testdata/valid-modules/with-tests-json/test_case_two.tftest.json (about) 1 { 2 "run": { 3 "test_run_one": { 4 "variables": { 5 "input": "test_run_one" 6 }, 7 "assert": [ 8 { 9 "condition": "${foo_resource.a.value} == test_run_one", 10 "error_message": "invalid value" 11 } 12 ] 13 }, 14 "test_run_two": { 15 "plan_options": { 16 "mode": "refresh-only" 17 }, 18 "variables": { 19 "input": "test_run_two" 20 }, 21 "assert": [ 22 { 23 "condition": "${foo_resource.a.value} == test_run_one", 24 "error_message": "invalid value" 25 } 26 ] 27 }, 28 "test_run_three": { 29 "variables": { 30 "input": "test_run_three" 31 }, 32 "plan_options": { 33 "replace": [ 34 "bar_resource.c" 35 ] 36 }, 37 "assert": [ 38 { 39 "condition": "${foo_resource.a.value} == test_run_three", 40 "error_message": "invalid value" 41 } 42 ] 43 } 44 } 45 }