`kubeterra import` command, when run inside the directory with terraform config should create TerraformConfuguration object. Files to import: * [ ] contact all `*.tf` files -> goes to `spec.configuration` * [ ] contact `terraform.tfvars` + `*.auto.tfvars` if presented -> goes to `spec.values` * [ ] always `spec.autoApprove=false` * [ ] always `spec.paused=true` Once created, print instructions on how to proceed next. * [ ] tell about `spec.template.env` and `spec.template.envFrom` (to configure credentials) * [ ] tell about `spec.template.volumes` and `spec.template.volumeMounts` to configure some additional files (like ssh keys) * [ ] tell about `spec.paused` to unpause the processing of TerraformConfuguration.
kubeterra importcommand, when run inside the directory with terraform config should create TerraformConfuguration object.Files to import:
*.tffiles -> goes tospec.configurationterraform.tfvars+*.auto.tfvarsif presented -> goes tospec.valuesspec.autoApprove=falsespec.paused=trueOnce created, print instructions on how to proceed next.
spec.template.envandspec.template.envFrom(to configure credentials)spec.template.volumesandspec.template.volumeMountsto configure some additional files (like ssh keys)spec.pausedto unpause the processing of TerraformConfuguration.