digitalocean / terraform-provider-digitalocean

Terraform DigitalOcean provider
https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs
Mozilla Public License 2.0
510 stars 278 forks source link

docs(droplet) details `user_data` behavior (resource forces recreate) #1270

Closed dduportal closed 6 days ago

dduportal commented 6 days ago

We recently discovered that user_data is immutable for a given Droplet and changing its value forces a resource re-creation.

It is a different behavior than other Terraform providers (Azure does not care, AWS triggers instance reboot, etc.) so it is worth documenting it.

This PR updates the user_data description by adding the link to official DigitalOcean documentation and specifying that changing this attribute forces a new resource.