23 lines
261 B
Text
23 lines
261 B
Text
#Aamrun, August 15th 2022
|
|
|
|
variable "a" {
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "b" {
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
output "a_and_b" {
|
|
value = var.a && var.b
|
|
}
|
|
|
|
output "a_or_b" {
|
|
value = var.a || var.b
|
|
}
|
|
|
|
output "not_a" {
|
|
value = !var.a
|
|
}
|