mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-23 19:04:57 -04:00
15 lines
230 B
Terraform
15 lines
230 B
Terraform
|
|
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
|
||
|
|
}
|