blob: e17be6af7a2f17a2dc0cbde3c7c8a269205e295d [file] [log] [blame]
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 = {
failed_id = "failed"
resource_id = "resource"
fail_plan = var.fail_plan
fail_apply = var.fail_apply
}
}