Difference between revisions of "Module (Terraform)"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* <code>[[source]]</code>
 
 
  
 
  module "consul" {
 
  module "consul" {
 
   [[Terraform modules: source|source]] = "./path/to/you/module"
 
   [[Terraform modules: source|source]] = "./path/to/you/module"
 
  }
 
  }
 +
 +
module "yourmodule" {
 +
  [[Terraform modules: source|source]] = "git::https://path/to/you/gitrepo/module?[[ref]]=latest"
 +
}
 +
 +
== Related ==
 +
* [[include]]
 +
* [[terragrunt.hcl]]
 +
* [[Terraform module keyword]]
  
 
== See also ==
 
== See also ==

Latest revision as of 16:31, 15 November 2023

Advertising: