Support terraform import command
gitlab-terraform
does not currently support the import
command.
To add it, insert the following in the case stanza in gitlab-terraform.sh:
"import")
# shift argument list „one to the left“ to not call 'terraform import import'
# -input=false must be before args
shift
terraform import -input=false "${@}"
;;
My motivation for using it was to import the kubernetes_namespace
of the Review environment, so that it can be destroyed in a stop job. This is one solution to this environment cleanup issue.