Difference between revisions of "Module (Terraform)"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  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 ==
 
== Related ==
 
* [[include]]
 
* [[include]]
 +
* [[terragrunt.hcl]]
 +
* [[Terraform module keyword]]
  
 
== See also ==
 
== See also ==

Latest revision as of 16:31, 15 November 2023

Advertising: