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