Closed QQLOVE123 closed 3 days ago
The value of field entry is incorrect,pls check the structure of variable acl_list, and refer to terraform docs. Terraform docs:https://developer.hashicorp.com/terraform/language/expressions/dynamic-blocks
This issue has not been updated for a year, so we will close it. If you have other questions, please raise a new issue.
command: resource "alicloud_slb_acl_entry_attachment" "attachment" { for_each = var.acl_list dynamic "entry_attachment" { for_each = each.value.entry content { acl_id = alicloud_slb_acl.example[each.key].id entry = entry_attachment.value comment = each.value.comment ip_version = each.value.ip_version } } }
error: