aliyun / terraform-provider-alicloud

Terraform AliCloud provider
https://www.terraform.io/docs/providers/alicloud/
Mozilla Public License 2.0
587 stars 553 forks source link

throw error when create resource #6196

Closed QQLOVE123 closed 3 days ago

QQLOVE123 commented 1 year ago

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: image

MrWolong commented 3 months 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 image image

ChenHanZhang commented 3 days ago

This issue has not been updated for a year, so we will close it. If you have other questions, please raise a new issue.