You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use native k8s provider, but I don't want to write k8s spec in HCL. It would be great if I can import k8s spec from yaml files which used for kubectl.
Supporting YAML/JSON was considered before (the very first proposal of K8S provider was exactly that) and during the initial implementation of this provider and we decided not to do it. For that reason I'm going to close this issue as we have no intentions of implementing it nor accepting PRs which accept raw configs in JSON/YAML.
Feel free to use the provider @captn3m0 mentioned above.
This issue was originally opened by @okgolove as hashicorp/terraform#17741. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
I want to use native k8s provider, but I don't want to write k8s spec in HCL. It would be great if I can import k8s spec from yaml files which used for
kubectl
.Actual Behavior
I have to write spec in HCL
Steps to Reproduce
Additional Context
References
https://stackoverflow.com/questions/47236358/can-you-define-kubernetes-services-pods-using-yaml-in-terraform
The text was updated successfully, but these errors were encountered: