civo / terraform-provider-civo

Terraform Civo provider
https://www.civo.com
Mozilla Public License 2.0
71 stars 56 forks source link

[BUG] List of inputs where id needs to validated and forced to avoid state issues #312

Closed fernando-villalba closed 3 months ago

fernando-villalba commented 3 months ago

Description

There are multiple fields where we need to validate to ensure that id is used as allowing using the name causes issues with state, issues that could lead to accidental destruction of resources.

Acceptance Criteria

Here is a non-exhaustive list of fields where we need to ensure that we only accept ids:

civo_instance

kubernetes_instance

civo_firewall

There could be more I am missing but these are very important that we ensure the user can only provide ids to avoid issues, this is a high priority issue.