mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-03 22:10:40 -05:00
* stacks: apply sensitive marks to outputs from components * gen headers * ensure consistent test ordering
23 lines
354 B
HCL
23 lines
354 B
HCL
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 "input" {
|
|
type = string
|
|
}
|
|
|
|
resource "testing_resource" "data" {
|
|
id = var.id
|
|
value = var.input
|
|
}
|