📜  terraform 三元 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:58.732000             🧑  作者: Mango

代码示例1
#  ?  : 

# Example
myResourceField = var.a =! "foo" ? "hello" : "world"
# if var.a doesn't equal "foo", myResourceField will be set to "hello",
# else it will be set to "world".