Import resource only if they exist
Opened this issue · 1 comments
arushdesp commented
Hi,
Feature to add if possible.
When I do
terraformer import google --resources=* --project=**** --regions=******
A generated file is created checking all the services/resources one by one and then create the folder for every resource eventhough they aren't used.
Would it be possible to only have the created folder only for the resources that are currently being used?
e.g. I didnt use the service of cloudsql and I have an empty provider.tf with just the proveders info. see below:
provider "google" {
project = "*******"
}
terraform {
required_providers {
google = {
version = "~> 4.85.0"
}
}
}
Thanks (:
github-actions commented
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.