Error AtlasError Documentation and Resolution

Terraform command ran without configuration files in the working directory

This directory contains no Terraform configuration files.

Terraform could not find any .tf configuration in the current working directory, so commands that depend on configuration cannot proceed normally.

no Terraform configuration filesconfiguration
This directory contains no Terraform configuration files.
  • The command was run in the wrong working directory.
  • Terraform files have not been created yet for the target configuration.
  • A command that expects configuration was pointed at an empty folder.
  1. Run the command from the directory that contains the root Terraform configuration.
  2. If needed, use the correct config path or create the expected .tf files first.
  3. Verify that the working directory contains the root module you intended to use.
HashiCorp Developer: terraform import command reference
Terraform no configuration files: causes and fixes | Error Atlas