rancherlabs / terraform-harvester-equinix

Apache License 2.0
12 stars 10 forks source link

Modularize Terraform code for better reuse and maintainability #101

Open glovecchi0 opened 4 days ago

glovecchi0 commented 4 days ago

We need to modularize the existing Terraform code to improve reusability, maintainability, and organization. By splitting the code into modules, we can reduce duplication, simplify management, and make it easier to scale and collaborate across projects. This approach will also help abstract complex configurations into simpler, reusable components.

TO BE structure:

terraform-harvester-equinix/
├── modules/
├── examples/

I've already done something similar here.

After that, nothing prevents us from publishing in the official Terraform Registry.

glovecchi0 commented 4 days ago

Hey @dnoland1, what do you think?

glovecchi0 commented 1 day ago

Another example here.