1

これは、terraform plan を実行したときに得られるものです。以前のバージョンでは以前は機能していたので、基本的に concat は文字列ではなくリストを返します。

Errors:

* At column 3, line 1: lookup: argument 2 should be type string, got type list in:

${lookup(var.az, concat("zone", count.index + 1))}

コンパイルされたバージョンのterraformを使用しています

$ terraform --version
Terraform v0.7.0-dev (854c9bd488dfdb12303ec47e42d6de8fc17e40a5)
4

1 に答える 1