terraform-provider-rancher2 icon indicating copy to clipboard operation
terraform-provider-rancher2 copied to clipboard

Missing information in the doc regarding usage of clone_from parameter for machine_config_v2#vsphere_config

Open vmahe35 opened this issue 2 years ago • 2 comments

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.

vmahe35 avatar Apr 29 '22 13:04 vmahe35

Got really confused by this when using the provider, please improve the docs

GaboFDC avatar Feb 09 '23 23:02 GaboFDC

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.

dustinmhorvath avatar Jan 10 '24 18:01 dustinmhorvath