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

Kubernetes Cluster Resource locals to attribute in resource #416

Open
orenr2301 opened this issue Sep 24, 2024 · 0 comments
Open

Kubernetes Cluster Resource locals to attribute in resource #416

orenr2301 opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@orenr2301
Copy link

Is your feature request related to a problem? Please describe.

Yes, the issue is that it is not an appropriate way to configure cluster configs via locals, did someone get lazy on your end?
The locals think it is less flexible, as there are terraform functions/expressions that can only be performed at the resource level. and also make the logic more complex

Describe the solution you'd like

distinguish local things and convert them to attributes under the resource

topology {
    version         = var.distribution_version
    cluster_class   = "tanzukubernetescluster"
    cluster_variables = jsonencode(local.tkgs_cluster_variables) <====  

Describe alternatives you've considered

There are no alternatives, as at the resource dock/README, it put just the way it is, and also, suggestions of what I can do instead of using the locals are not present. people won't waste their time looking for nonnative solution

Additional context

No response

@orenr2301 orenr2301 added the enhancement New feature or request label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant