Local Preview Should Support Symlinks or Explicitly Allow Them

In workflows where Terraform variable directories are symlinked from an external repo, local preview fails to render changes properly. Currently, the CLI does not follow symlinks, and ignores symlinked directories — especially when also listed in .gitignore.

As a result, developers are forced to:

  • Delete the symlink

  • Manually copy the target directory into the project

  • Modify .gitignore temporarily to allow the content to be picked up

Requested Enhancements:

  • Add a CLI flag such as --follow-symlinks or --include ./path to explicitly whitelist symlinked directories

  • Improve .gitignore handling in local preview to support more flexible inclusion logic

Why It Matters:
While the impact is minor and there are workarounds, this limitation creates friction in common enterprise workflows — especially where variable sets or config fragments live in external repositories and are symlinked in. Supporting this would improve usability and encourage wider adoption of local preview.


Workaround
-
Problem
-

Please authenticate to join the conversation.

Upvoters
Status

❌ Rejected

Board

💡 Feature Requests

Date

10 months ago

Subscribe to post

Get notified by email when there are changes.