gridscale / terraform-provider-gridscale

Terraform gridscale provider
https://registry.terraform.io/providers/gridscale/gridscale/latest/docs
Mozilla Public License 2.0
12 stars 11 forks source link

Feature Request: Provision Infrastructure with Cloud-Init #159

Open semtyre opened 3 years ago

semtyre commented 3 years ago

Hi there,

we would like to provision our infrastructure with Cloud-Init. Currently the gridscale provider does not support this. Having cloud-init would greatly simplify our provisioning, for example assigning custom server names and ip addresses.

Terraform Version

1.9.1

Affected Resource(s)

--

Terraform Configuration Files

--

Debug Output

--

Panic Output

--

Expected Behavior

Use (for example) user_data for servers to provision server instances.

Actual Behavior

cloud-init is not supported

Steps to Reproduce

--

Important Factoids

--

References

--

nvthongswansea commented 3 years ago

@semtyre Thanks for posting the issue. We will look into it.

mbunkus commented 3 years ago

This would be very nice to have, especially for assigning IP addresses to servers on internal networks. At the moment the setup process for such machines isn't fully automatable without using DHCP servers & doing elaborate things such as parsing DHCP server logs for new assignments, auto-logging in to those & doing stuff on those machines based on configured host names. It would be much easier if such things could be done directly via cloud-init.

nvthongswansea commented 3 years ago

@mbunkus @semtyre This feature has to be implemented in the API level. I will make a proposal to add Cloud-Init.

wbrnsc commented 2 years ago

I would also like to use cloud-init with gridscale and terraform.