Skip to content

feat: initial implementation of terraform for aws (self hosted)#187

Draft
marccampbell wants to merge 3 commits intomainfrom
tf-v1
Draft

feat: initial implementation of terraform for aws (self hosted)#187
marccampbell wants to merge 3 commits intomainfrom
tf-v1

Conversation

@marccampbell
Copy link
Member

also runs go fmt ./... on the code

@scottrigby scottrigby self-requested a review February 3, 2026 19:26
Copy link
Contributor

@scottrigby scottrigby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamping the Terraform (the main purpose of this PR) 👍 can set up auto testing later and any fixes can be additional PRs as needed.

Also the massive gofmt whitespace and newline cleanup looks good. Had to happen sometime 😅

Note that early design docs and files like CLAUDE.md are also deleted in this PR. These seem unrelated to this PR, but fine to remove. CLAUDE.md wasn't very useful in it's current state anyway. Files like design/convert-k8s-to-helm/README.md did seem potentially useful to explain what's going on. But we might want to look at #97 to better explain the request lifecycle (if I'm right about how these workflows work in that PR).

LGTM

// Send error to the error channel and exit
select {
case errCh <- fmt.Errorf(errMsg):
case errCh <- fmt.Errorf("No activity from LLM for 2 minutes, operation stalled (last activity at %s)", lastActivity.Format(time.RFC3339)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: exact copy of string passed to fmt.Sprintf in errMsg, could be refactored to a var reused there and here. not critical.

Comment on lines +77 to +78
docs:
reference: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wasn't sure if reference works, since the only example I saw in code was install. but looks like we allow any map key https://github.com/replicatedhq/kotskinds/blob/main/apis/kots/v1beta2/helmchart_types.go#L405. Assuming this is fine.

PS we should also update the reference page at https://docs.replicated.com/reference/custom-resource-helmchart-v2 to include docs, per replicatedhq/kotskinds#57.

Comment on lines +1 to +2
apiVersion: kots.io/v1beta1
kind: Terraform
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scottrigby scottrigby changed the title initial implementation of terraform for aws (self hosted) feat: initial implementation of terraform for aws (self hosted) Feb 3, 2026
@scottrigby scottrigby marked this pull request as draft February 4, 2026 15:37
@scottrigby
Copy link
Contributor

Converting PR to Draft because Marc said this is still in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants