coder / coder/internal

debt: refactor `terraform/resources.go.ConvertState` function

Open
#689 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.