leverage icon indicating copy to clipboard operation
leverage copied to clipboard

Project create command do not create common-variables.tf symlinks appropriately

Open borland667 opened this issue 7 months ago • 1 comments

Describe the Bug

When running leverage project create all the symlinks to config/common-variables.tf are followed and turned into files.

Expected Behavior

On all layers,the common-variables.tf file should be a symlink to the file that exist in config/.

Steps to Reproduce

  • Run leverage project create

  • Look for symlinks: find . -name common-variables.tf -type lname (you should get none here)

  • Look for files: find . -name common-variables.tf -type f (you will get files in config/ and all the layers)

./config/common-variables.tf
./security/us-east-1/security-base/common-variables.tf
./security/us-east-1/base-tf-backend/common-variables.tf
./management/us-east-1/security-base/common-variables.tf
./management/us-east-1/base-tf-backend/common-variables.tf
./management/global/organizations/common-variables.tf
./management/global/sso/common-variables.tf
./shared/us-east-1/security-base/common-variables.tf
./shared/us-east-1/base-network/common-variables.tf
./shared/us-east-1/base-tf-backend/common-variables.tf

Screenshots

N/A

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: MacOS
  • Version 14.5

Additional Context

N/A

borland667 avatar Jul 10 '24 19:07 borland667