terraform/internal/command/testdata/test/with_double_interrupt/main.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
362 B
Terraform
Raw Permalink Normal View History

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
]
}