You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/command/testdata/test/with_interrupt/main.tf

26 lines
362 B

variable "interrupts" {
type = number
}
resource "test_resource" "primary" {
value = "primary"
}
resource "test_resource" "secondary" {
value = "secondary"
interrupt_count = var.interrupts
depends_on = [
test_resource.primary
]
}
resource "test_resource" "tertiary" {
value = "tertiary"
depends_on = [
test_resource.secondary
]
}