terraform/internal/stacks/stackruntime/testdata/mainbundle/test/failed-component/failed-component.tfstack.hcl
Liam Cervante 7163c4b6d5
stacks: fix destroy ordering of stacks destroy plans (#35665)
* stacks: remove unneeded required components functions

* stacks: refactor the mock provider for realism

* deferred actions: fix missing features in deletions

* stacks: fix destroy ordering of stacks destroy plans

* fix missing import
2024-09-05 12:10:24 +02:00

31 lines
464 B
HCL

required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
provider "testing" "default" {}
variable "fail_plan" {
type = bool
default = false
}
variable "fail_apply" {
type = bool
default = false
}
component "self" {
source = "./"
providers = {
testing = provider.testing.default
}
inputs = {
id = "failed"
input = "resource"
fail_plan = var.fail_plan
fail_apply = var.fail_apply
}
}