bhouse-nexthop commented on code in PR #281:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/281#discussion_r2937150293


##########
cloudstack/resource_cloudstack_network_acl_rule.go:
##########
@@ -232,6 +481,30 @@ func resourceCloudStackNetworkACLRuleCreate(d 
*schema.ResourceData, meta interfa
                        log.Printf("[ERROR] Failed to set rule attribute: %v", 
err)
                        return err
                }
+       } else if nrs := d.Get("ruleset").(*schema.Set); nrs.Len() > 0 {
+               // Handle 'ruleset' (TypeSet with mandatory rule_number)
+               rules := make([]interface{}, 0)
+
+               log.Printf("[DEBUG] Processing %d rules from 'ruleset' field", 
nrs.Len())
+
+               // Convert Set to list (no auto-numbering needed, rule_number 
is required)
+               rulesList := nrs.List()
+

Review Comment:
   fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to