Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Environments & TF State #6

Open
fulhaq opened this issue Dec 8, 2024 · 2 comments
Open

Multiple Environments & TF State #6

fulhaq opened this issue Dec 8, 2024 · 2 comments

Comments

@fulhaq
Copy link

fulhaq commented Dec 8, 2024

I want to be able to run this code across multiple proxmox clusters namely (prod, staging, qa). I can do it by tinkering with state files, etc. but was really hoping for a more robust way of doing this. It may be my lack of understanding of how TF handles envs. I come from terragrunt (TG) background and that's the only way I can think of handling this. Thoughts on TF envs vs TG?

Thank you!

@rgl
Copy link
Owner

rgl commented Dec 9, 2024

AFAICT, terraform oss still (?) does not handle that. we have to manually configure and run it against different terraform state locations or use something like terragrunt or terramate.

please, keep in mind that this repo lacks production features (e.g. it does not handle multiple envs / ha / backups / upgrades / etc), this is meant to be a simple talos playground.

@fulhaq
Copy link
Author

fulhaq commented Dec 9, 2024

Yeah a terragrunt introduction would be great to this project! Understood on the playground but I'd like to use it for my homeserver "production" use. wouldn't mind collaborating on it with you if you're open to it.

Envs: Terragrunt
HA: If this code can create talos nodes on multiple proxmox nodes, we may inch closer to achieving HA.
Backups: I've played around with Veeam/Velero in the past. I'd be interested in adding it to the cluster.
Observability: It should be easy enough to add prom-kube-stack via helm.
Upgrades: I agree the way the code stands now, it' won't upgrade clusters gracefully. Worth looking into.

I can get started on some of these if you'd be interested.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants