[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #23: cloudstack_egress_firewall resource triggers a modification even when there is no change

2021-12-14 Thread GitBox


harikrishna-patnala commented on issue #23:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/23#issuecomment-993266396


   @vladimirpetrov I see that the cidr list you are providing is "cidr_list = 
["0.0.0.0/0"]" but when the actual API runs Cloudstack create rules against the 
cidr of the network since the provided one is generic.
   
   So after the rule is created the TF state is filled with the cidr which got 
from the API response. When terraform apply sees this difference it is trying 
to reapply the change.


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




[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #22: cloudstack_disk: custom size volume triggers modification even when there's no change

2021-12-14 Thread GitBox


harikrishna-patnala commented on issue #22:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/22#issuecomment-993286630


   @vladimirpetrov we need use case sensitive names for the resources. Here we 
have used "custom" to fetch the disk offering.
   The name in CloudStack is "Custom" so try using the CloudStack name, TF 
won't reapply.


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




[GitHub] [cloudstack-terraform-provider] synergiator closed issue #17: Removing an ACL list from a network corrupts state file

2021-12-14 Thread GitBox


synergiator closed issue #17:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/17


   


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




[GitHub] [cloudstack-terraform-provider] synergiator commented on issue #17: Removing an ACL list from a network corrupts state file

2021-12-14 Thread GitBox


synergiator commented on issue #17:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/17#issuecomment-993703877


   ok thank you for retesting @harikrishna-patnala  - not sure how to 
reproduce, closing.
   
   Side question - is there a (simple) possibility to test a build between 
releases? While not sure when the next RC will be available, the fix for port 
forward setting problem should be valuable alone!


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov closed issue #22: cloudstack_disk: custom size volume triggers modification even when there's no change

2021-12-14 Thread GitBox


vladimirpetrov closed issue #22:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/22


   


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov commented on issue #22: cloudstack_disk: custom size volume triggers modification even when there's no change

2021-12-14 Thread GitBox


vladimirpetrov commented on issue #22:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/22#issuecomment-994117214


   I double-checked and you're right @harikrishna-patnala, closing the issue.


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov commented on issue #23: cloudstack_egress_firewall resource triggers a modification even when there is no change

2021-12-14 Thread GitBox


vladimirpetrov commented on issue #23:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/23#issuecomment-994117388


   I double-checked and you're right @harikrishna-patnala, closing the issue.


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov closed issue #23: cloudstack_egress_firewall resource triggers a modification even when there is no change

2021-12-14 Thread GitBox


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


   


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




[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #25: cloudstack_template does not wait until the template is ready for use

2021-12-14 Thread GitBox


harikrishna-patnala commented on issue #25:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/25#issuecomment-994299483


   @vladimirpetrov dependency for template in VM resource will be created only 
if use template's terraform resource name in VM resource config like below 
   
   resource "cloudstack_instance" "VM1" {
 name = "VM1"
 service_offering = "Small Instance"
 **template = cloudstack_template.Template.id**
 network_id   = cloudstack_network.N1.id
 zone = "${var.zoneId}"
   }
   
   If we use the template uuid or name directly in the VM resource 
configuration then terraform won't create the dependency. Can you please try as 
I mentioned before. I've tried the same observed VM waits till template gets 
registered and download complete.


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




[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #17: Removing an ACL list from a network corrupts state file

2021-12-14 Thread GitBox


harikrishna-patnala commented on issue #17:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/17#issuecomment-994301150


   Hi @synergiator, to test any bug fixes before the RC is cut or before the 
terraform registry is not updated, you have to build the binaries locally and 
use it and that is straight forward. We have documented this here 
https://github.com/apache/cloudstack-terraform-provider#developing-the-provider
   
   Please let me know if you are facing issues with that


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




[GitHub] [cloudstack-terraform-provider] harikrishna-patnala edited a comment on issue #17: Removing an ACL list from a network corrupts state file

2021-12-14 Thread GitBox


harikrishna-patnala edited a comment on issue #17:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/17#issuecomment-994301150


   Hi @synergiator, to test any bug fixes before the RC is cut or before the 
terraform registry is updated, you have to build the binaries locally and use 
it and that is straight forward. We have documented this here 
https://github.com/apache/cloudstack-terraform-provider#developing-the-provider
   
   Please let me know if you are facing issues with that


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




[GitHub] [cloudstack-terraform-provider] harikrishna-patnala commented on issue #24: Instance cannot be expunged, only destroyed

2021-12-14 Thread GitBox


harikrishna-patnala commented on issue #24:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/24#issuecomment-994303472


   @vladimirpetrov I see that there is "expunge" param that we can set in 
terraform VM resource configuration.resource 
   "cloudstack_instance" "VM1" {
   name = "VM1"
   service_offering = "Small Instance"
   template = cloudstack_template.Template.id
   network_id = cloudstack_network.N1.id
   zone = "${var.zoneId}"
   **expunge = true**
   }
   
   I tried this with destroy command and it expunged the VM. can you please try 
that as well.


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov closed issue #25: cloudstack_template does not wait until the template is ready for use

2021-12-14 Thread GitBox


vladimirpetrov closed issue #25:
URL: https://github.com/apache/cloudstack-terraform-provider/issues/25


   


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




[GitHub] [cloudstack-terraform-provider] vladimirpetrov commented on issue #25: cloudstack_template does not wait until the template is ready for use

2021-12-14 Thread GitBox


vladimirpetrov commented on issue #25:
URL: 
https://github.com/apache/cloudstack-terraform-provider/issues/25#issuecomment-994467098


   This trick works, thanks @harikrishna-patnala, closing the issue.


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