Skip to content

Error: failed to find import #2183

Closed
Closed

Description

@cfsb-jrose

Describe the Bug

When running atmos describe affected or atmos tf plan --affected it fails:

$ atmos describe affected

   Error 

   Error: failed to find import
$ atmos tf plan --affected

   Error 

   Error: failed to find import

Expected Behavior

If running atmos tf plan --affected, the expectation is to only plan components that have been changed based on git commits

Steps to Reproduce

$ atmos describe affected

   Error 

   Error: failed to find import
$ atmos tf plan --affected

   Error 

   Error: failed to find import

It also happens when using https://atmos.tools/integrations/github-actions/affected-stacks

  eval "atmos describe affected --file affected-stacks.json --include-settings=false --repo-path "/opt/actions-runner/_work/iac-gh-repos/iac-gh-repos/base-ref""
  affected=$(jq -c '.' affected-stacks.json)
  printf "%s" "affected=$affected" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    ATMOS_CLI_CONFIG_PATH: /opt/actions-runner/_work/iac-gh-repos/iac-gh-repos/.atmos.yaml
# Error

**Error:** failed to find import

Screenshots

No response

Environment

  • OS: Ubuntu-24.04
  • Version: v1.209.0
  • Module: N/A
  • Terraform: v1.11.4

Additional Context

No response

Activity

  1. added
    bug
    on Mar 13, 2026
  2. added 2 commits that reference this issue on Mar 17, 2026
    9272a3e
    e470b3b
  3. added a commit that references this issue on Mar 18, 2026
    1109af3
  4. added a commit that references this issue on Mar 18, 2026
    f8a6044
  5. added a commit that references this issue on Mar 18, 2026
    bdd2758
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions