我需要在 bash 脚本中获取存储在 terraform 文件中的值。
cat custom.tfvars Val1 = {a1 = "12", b2 = "0.5", "count" = 2} Val2 = {a1 = "14", b2 = "0.5", "count" = 1}
我想编写一个脚本来获取 的值Val1(count)。
Val1(count)
谢谢。
linux bash shell terraform
bash ×1
linux ×1
shell ×1
terraform ×1