terraform/internal/stacks/stackruntime/testdata/mainbundle/test/failed-component/failed-component.tfcomponent.hcl

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

32 lines
464 B
HCL
Raw Permalink Normal View History

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