artem-sidorenko opened a new issue, #296:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/296

   Example usage
   
   ```hcl
   resource "cloudstack_egress_firewall" "default" {
     network_id = "6eb22f91-7454-4107-89f4-36afcdf33021"
   
     rule {
       cidr_list = ["10.0.0.0/8"]
       protocol  = "tcp"
       ports     = ["80", "1000-2000"]
     }
   }
   ```
   
   If I check the cmk output, there is also `destcidrlist`:
   ```bash
   $ cmk
   (localcloud) 🐱 > list egressfirewallrules listall=true domainid=DOMAINID 
projectid=PROJECTID
   {
     "count": 3,
     "firewallrule": [
       {
         "cidrlist": "10.100.0.0/24",
         "destcidrlist": "",                           # <------------
         "endport": 443,
         "fordisplay": true,
         "id": "RULEID",
         "networkid": "NETWORKID",
         "protocol": "tcp",
         "startport": 443,
         "state": "Active",
         "tags": [],
         "traffictype": "Egress"
       },
   ...
     ]
   }
   ```
   
   This makes somehow little sense, usually I want to specify the target for 
egress communication


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