question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support references between Terraform modules

See original GitHub issue
  • module block
    • Relative path
    • Remote (using get command ?)
  • terraform_remote_state resource
    • artifactory
    • atlas
    • consul
    • etcd
    • http
    • s3
    • swift

Related documentation: module block - get command

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:12
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
VladRassokhincommented, Jul 4, 2018

Fixed modules referencing, would be available in upcoming release.

1reaction
VladRassokhincommented, May 13, 2019

@alxgrk AFAIR since 0.6.14 (or even 0.6.13) relative module paths fixed and plugin would navigate to plugin source, not .terraform/modules/HASH/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

References to Values - Configuration Language | Terraform
Reference values in configurations, including resources, input variables, local and block-local values, module outputs, data sources, and workspace data.
Read more >
How to reference a resource created by a Terraform module
Since you're using a module, you need to change the format of the reference slightly. Module Outputs use the form ${module.<module name>.
Read more >
Creating dependencies between your Terraform modules
Sometimes, a resource can depend on another one but not reference it. In this case, we can create an explicit dependency using the...
Read more >
How to use one module's variable in another ...
You can use outputs to accomplish this. In Terraform, a module can also return values. Again, this is done using a mechanism you...
Read more >
The Ultimate Guide on How to Write Terraform Modules - Part 1
The current version of Terraform does not support the depends_on attribute for modules. The depends_on attribute in resources should be used for hidden ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found