2023-06-15 21:21:00 -04:00
|
|
|
|
|
|
|
|
component "single" {
|
|
|
|
|
source = "./empty-module"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
component "for_each" {
|
|
|
|
|
source = "./empty-module"
|
|
|
|
|
for_each = {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
stack "single" {
|
|
|
|
|
source = "./child"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
stack "for_each" {
|
|
|
|
|
source = "./child"
|
|
|
|
|
for_each = {}
|
|
|
|
|
}
|
2024-06-07 09:19:44 -04:00
|
|
|
|
|
|
|
|
variable "unused" {
|
|
|
|
|
type = string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "unused_with_default" {
|
|
|
|
|
type = string
|
|
|
|
|
default = "default"
|
|
|
|
|
}
|
2024-06-12 21:47:31 -04:00
|
|
|
|
|
|
|
|
variable "ephemeral" {
|
|
|
|
|
type = string
|
|
|
|
|
default = null
|
|
|
|
|
ephemeral = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "sensitive" {
|
|
|
|
|
type = string
|
|
|
|
|
default = null
|
|
|
|
|
sensitive = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "normal" {
|
|
|
|
|
type = string
|
|
|
|
|
value = var.optional
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "ephemeral" {
|
|
|
|
|
type = string
|
|
|
|
|
value = var.ephemeral
|
|
|
|
|
ephemeral = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "sensitive" {
|
|
|
|
|
type = string
|
|
|
|
|
value = var.sensitive
|
|
|
|
|
sensitive = true
|
|
|
|
|
}
|