terraform/internal/stacks/stackruntime/testdata/mainbundle/test/component-chain/component-chain.tf

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

29 lines
413 B
Terraform
Raw Permalink Normal View History

terraform {
required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
}
variable "id" {
type = string
default = null
nullable = true # We'll generate an ID if none provided.
}
variable "value" {
type = string
}
resource "testing_resource" "data" {
id = var.id
value = var.value
}
output "value" {
value = testing_resource.data.value
}