vladimirpetrov opened a new issue #23:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/23


   I have the following resource defined:
   
   ```
   resource "cloudstack_egress_firewall" "egress" {
     network_id = cloudstack_network.isolated_net1.id
     rule {
       cidr_list = ["0.0.0.0/0"]
       protocol  = "tcp"
       ports     = ["1-1024"]
     }
   }
   ```
   
   and it triggers a modification each time the 'apply' command is issued (no 
changes have been made in the resource):
   
   ```
   Terraform used the selected providers to generate the following execution 
plan. Resource actions are indicated with the following symbols:
     ~ update in-place
   
   Terraform will perform the following actions:
   
     # cloudstack_egress_firewall.egress will be updated in-place
     ~ resource "cloudstack_egress_firewall" "egress" {
           id          = "ad622d45-49f9-4c9e-974b-733d26883f8b"
           # (3 unchanged attributes hidden)
   
         + rule {
             + cidr_list = [
                 + "0.0.0.0/0",
               ]
             + icmp_code = (known after apply)
             + icmp_type = (known after apply)
             + ports     = [
                 + "1-1024",
               ]
             + protocol  = "tcp"
             + uuids     = (known after apply)
           }
         - rule {
             - cidr_list = [
                 - "10.0.0.0/16",
               ] -> null
             - icmp_code = 0 -> null
             - icmp_type = 0 -> null
             - ports     = [
                 - "1-1024",
               ] -> null
             - protocol  = "tcp" -> null
             - uuids     = {
                 - "1-1024" = "fd7307dd-009a-4c46-b550-cdd6773ad78e"
               } -> null
           }
       }
   
   Plan: 0 to add, 1 to change, 0 to destroy.
   ```
   
   At least the operation is 'successfull':
   
   ```
   cloudstack_egress_firewall.egress: Modifying... 
[id=ad622d45-49f9-4c9e-974b-733d26883f8b]
   cloudstack_egress_firewall.egress: Modifications complete after 4s 
[id=ad622d45-49f9-4c9e-974b-733d26883f8b]
   
   Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
   ```


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