sassoftware / viya4-iac-k8s

This project contains Terraform scripts to provision cloud infrastructure resources, when using vSphere, and Ansible to apply the needed elements of a Kubernetes cluster that are required to deploy SAS Viya platform product offerings.
Apache License 2.0
23 stars 15 forks source link

Cloud-init support for VMware infrastructure #113

Closed deda-smartini closed 2 months ago

deda-smartini commented 4 months ago

Is your feature request related to a problem? Please describe.

A very nice feature is the possibility to provision the VMs starting with a cloud-image, like Ubuntu Cloud Image, stored in a Content Library and using the Cloud-Init to setup user and ssh authorized keys.

Describe the solution you'd like

Terraform provider for VMware Vsphere supports Cloud-Init and Content Library. A small Terraform code change will be required to support Cloud-Init. The user used by the Ansible playbooks can be created with the Cloud-Init by the "terraform apply". In this way there is no need to have the user already present into the VM template.

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct