Closed hdhruna closed 2 years ago
I found an issue with version 0.2.8
An example storageClass:
apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: slow provisioner: kubernetes.io/gce-pd parameters: type: pd-standard replication-type: none
Command used to convert yaml2tf: k2tf -x -f manifests/yamls/test.yaml -o manifests/k8s/test.tf
k2tf -x -f manifests/yamls/test.yaml -o manifests/k8s/test.tf
Converted tf object:
resource "kubernetes_storage_class" "slow" { metadata { name = "slow" } parameter {} }
It seems parameter & provisioner is missing out the arguments.
Facing the same issue.Can anyone update on this?
I found an issue with version 0.2.8
An example storageClass:
Command used to convert yaml2tf:
k2tf -x -f manifests/yamls/test.yaml -o manifests/k8s/test.tf
Converted tf object:
It seems parameter & provisioner is missing out the arguments.