terraform-provider-rancher2
terraform-provider-rancher2 copied to clipboard
Missing information in the doc regarding usage of clone_from parameter for machine_config_v2#vsphere_config
The doc of rancher2_machine_config_v2
Resource says that clone_from
can only be used when parameter creation_type
parameter is set to vm
. But it also works when creation_type
is set to template
.
Therefore the doc of the terraform provider should mention that otherwise we don't know where we can set the VM template value.
Got really confused by this when using the provider, please improve the docs
I'm still lost on what format this wants the template string in. I've tried giving it just the content library name for content_library, and just the library's template name for clone_from, with creation_type set to "template", but I've had no luck. I feel like it wants to have some extra parts of the path included as part of these variables, but it's not documented and I can't find any good examples that don't just slap "var.template_name" and call it a day.