我有一个使用 terraform 将多个文件上传到 s3 的用例。我想使用计数功能上传多个对象。为此需要使用 file("${path.module}/path/to/file") 遍历源代码。
有没有办法利用count.index使文件函数成为映射变量?
terraform
terraform ×1