mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-09 01:40:40 -04:00
31 lines
No EOL
356 B
HCL
31 lines
No EOL
356 B
HCL
required_providers {
|
|
testing = {
|
|
source = "hashicorp/testing"
|
|
version = "0.1.0"
|
|
}
|
|
}
|
|
|
|
provider "testing" "default" {}
|
|
|
|
variable "id" {
|
|
type = string
|
|
}
|
|
|
|
variable "defer" {
|
|
type = bool
|
|
}
|
|
|
|
component "self" {
|
|
source = "./"
|
|
|
|
|
|
providers = {
|
|
testing = provider.testing.default
|
|
}
|
|
|
|
inputs = {
|
|
id = var.id
|
|
defer = var.defer
|
|
}
|
|
|
|
} |