-
Notifications
You must be signed in to change notification settings - Fork 70
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
General questions #328
Comments
Terraform-controller won't constantly check the snapshot for now.
In Configuration CRD, you can specify a module's URL. And what do you mean by "Can users provide multiple json files based on multiple module state files?" |
On the user experience, my question is about how do you handle complex modules and dependencies between modules? |
Terraform controller use terraform CLI image to operate tf file. In .tf file you can specify module URL, that's fine. So it should be one YAML for one cluster. apiVersion: terraform.core.oam.dev/v1beta1
kind: Configuration
metadata:
name: alibaba-rds-mysql-hcl
spec:
remote: https://github.com/kubevela-contrib/terraform-modules.git
path: alibaba/rds # a main.tf here In When you have 50 clusters, you have different number of yamls to manage, depending on how they are different. The worst case is they have totally different variables. In this case, there are 50 yamls to manage. If some of them have the same variables, then the yamls should only be different in In short, whether it's a dependency issue or modules, terraform-controller support it by using terraform CLI in Job. |
It's an interesting project. I have some questions:
a. Terraform handles states by comparing snapshots. Will adding a controller, which constantly checks the snapshots, overreact to situations like networking outage and change or even destroy the cloud resources?
b. About user experience: Most real world terraform applications use modules. How do you plan to support modules? Can users provide multiple json files based on multiple module state files? Or do users have to provide dozens of resource yamls?
The text was updated successfully, but these errors were encountered: