Terraform CLI
Terraform command ran without configuration files in the working directory
Terraform could not find any .tf configuration in the current working directory, so commands that depend on configuration cannot proceed normally.
Terraform CLI
Terraform could not find any .tf configuration in the current working directory, so commands that depend on configuration cannot proceed normally.
Observed message
This directory contains no Terraform configuration files.
Why it happens
How to fix it
Official reference
HashiCorp Developer: terraform import command referenceRelated errors
Explore more