You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/15 05:13:04 UTC

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

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-unsubscribe@cloudstack.apache.org

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