mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-22 17:40:13 -05:00
31 lines
464 B
HCL
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
|
|
}
|
|
}
|