debt: refactor `terraform/resources.go.ConvertState` function
Open
good first issue
tech-debt
- Dominant language
- No language data
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
[ConvertState](https://github.com/coder/coder/blob/main/provisioner/terraform/resources.go) has been organically appended to over the last months/years and is now a 1k line monstrosity. Skimming through the function it appears a lot of looping is duplicated work and it's become quite difficult to read. It could use some love in being refactored with a control flow that's easier to flow.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.