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:
- Created 8 years ago
- Reactions:12
- Comments:15 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed modules referencing, would be available in upcoming release.
@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/
.