我想知道是否有可能在 terraform 中获得列表的总数,我查看了 tf 网站,但没有看到任何有关仅使用 count.index 的总数的信息。
示例列表
var "testList" type = "list" default [ { type = "test1" }, { type = "test2" } ]
所以在这里我想得到 2 作为测试列表的总数
谢谢
interpolation list terraform
interpolation ×1
list ×1
terraform ×1