github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/with_double_interrupt/main.tf (about) 1 2 variable "interrupts" { 3 type = number 4 } 5 6 resource "test_resource" "primary" { 7 value = "primary" 8 } 9 10 resource "test_resource" "secondary" { 11 value = "secondary" 12 interrupt_count = var.interrupts 13 14 depends_on = [ 15 test_resource.primary 16 ] 17 } 18 19 resource "test_resource" "tertiary" { 20 value = "tertiary" 21 22 depends_on = [ 23 test_resource.secondary 24 ] 25 }