Description
We would like to use "terraform query" command to queries existing infrastructure for resources according to the tfquery.hcl file so that we can import them.
https://developer.hashicorp.com/terraform/cli/commands/query
Affected Resource(s) and/or Data Source(s)
#citrixadc_*
citrixadc_dnsaddrec & citrixadc_dnsnsrec (our use case is i.e. to replace the default root server and root hints)
Equivalent NetScaler CLI Command
#show *
show dns addRec & show dns nsRec
Potential Terraform Configuration
#my.tfquery.hcl
list "citrixadc_dnsaddrec" "tf_all_dnsaddrecs" {
provider = citrixadc
}
References
No response
Description
We would like to use "terraform query" command to queries existing infrastructure for resources according to the tfquery.hcl file so that we can import them.
https://developer.hashicorp.com/terraform/cli/commands/query
Affected Resource(s) and/or Data Source(s)
#citrixadc_*
citrixadc_dnsaddrec & citrixadc_dnsnsrec (our use case is i.e. to replace the default root server and root hints)
Equivalent NetScaler CLI Command
#show *
show dns addRec & show dns nsRec
Potential Terraform Configuration
References
No response