Closed Elmo33 closed 1 week ago
works fine with list value type error:
╷
│ Error: Incorrect attribute value type
│
│ on main.tf line 35, in resource "altinitycloud_env_aws" "this":
│ 35: node_groups = [{"name": "t4g.large", "node_type": "t4g.large", "capacity_per_zone": [1], "reservations": ["CLICKHOUSE", "SYSTEM", "ZOOKEEPER"]}]
│
│ Inappropriate value for attribute "node_groups": element 0: attribute "capacity_per_zone": number required.
╵
There are 2 different things here:
terraform-plugin-framework
. I reported the issue https://github.com/hashicorp/terraform-plugin-framework/issues/1032
when capacity_per_zone is not an int terraform doesn't specify that the capacity_per_zone's value is the issue and returns this error instead:
while it should look like this ( incorrect value works fine)