Loading...
Loading...
### Terraform Version ``` Terraform v0.12.6 ``` ### Terraform Configuration Files ```hcl module "cdn" { source = "/home/acobaugh/work/eit/terraform-modules/tf-aws-swe-cdn" # other config } module "developer" { source = "/home/acobaugh/work/eit/terraform-modules/tf-aws-swe-cdn" # other config } ``` ### Debug Output https://gist.github.com/acobaugh/656d671c13adfa83a3492ceb0bfe188f <!-- Full debug output can be obtained by running Terraform with the environment variable `TF_LOG=trace`. Please create a GitHub Gist containing the debug output. Please do _not_ paste the debug output in the issue, since debug output is long. Debug output may contain sensitive information. Please review it before posting publicly, and if you are concerned feel free to encrypt the files using the HashiCorp security public key. --> ### Crash Output ### Expected Behavior `terraform get` and `terraform init` should create symlinks for every instance of locally sourced modules so that updating the module source lead to consistent behavior across all module instances, not just the first one. ### Actual Behavior Only the first instance of the module is symlinked. Others are copied. ``` % ls -l .terraform/modules (master|✚2…) total 16 drwx------ 3 acobaugh acobaugh 4096 Aug 17 00:54 acm lrwxrwxrwx 1 acobaugh acobaugh 56 Aug 17 01:01 cdn -> /home/acobaugh/work/eit/terraform-modules/tf-aws-swe-cdn drwx------ 3 acobaugh acobaugh 4096 Aug 17 00:54 cdn-user drwx------ 2 acobaugh acobaugh 4096 Aug 17 01:01 developer -rw------- 1 acobaugh acobaugh 578 Aug 17 01:01 modules.json ``` ### Steps to Reproduce Create two instances of a module from a local path. Observe that all instances besides the first require a `terraform get -update` to see changes to that module, whereas the first will "Just Work". ### Additional Context ### References
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.