kiranchavala commented on issue #28:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/28#issuecomment-1979110909

   @vishesh92 
   
   
   Need to add networkid  parameter to the "resource_cloudstack_network_acl"
   
   
   https://cloudstack.apache.org/api/apidocs-4.19/apis/createNetworkACL.html
   
   
https://github.com/apache/cloudstack-go/blob/main/cloudstack/NetworkACLService.go
   
   
   When i performed the changes getting a build error 
   
   ```
   
                        "network_id": {
                                Type:     schema.TypeString,
                                Optional: true,
                                ForceNew: true,
                        },
                        
                        
        if networkid, ok := d.GetOk("network_id"); ok {
                p.SetNetworkid(networkid.(string))
        }
   
   ```
   
   
   ```
     cloudstack-terraform-provider git:(add-networkid) ✗ make build
   ==> Checking that code complies with gofmt requirements...
   go install
   # github.com/terraform-providers/terraform-provider-cloudstack/cloudstack
   cloudstack/resource_cloudstack_network_acl.go:91:5: p.SetNetworkid undefined 
(type 
*"github.com/apache/cloudstack-go/v2/cloudstack".CreateNetworkACLListParams has 
no field or method SetNetworkid)
   make: *** [build] Error 1
   ```
   
   


-- 
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: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to