Difference between revisions of "Terraform modules"

From wikieduonline
Jump to navigation Jump to search
Line 23: Line 23:
 
  }
 
  }
  
 +
== Related commands ==
 +
* <code>[[terraform init]]</code>
 +
* <code>[[terraform get]]</code>
 +
* <code>[[terraform get -update]]</code>
  
 
== Related terms ==
 
== Related terms ==

Revision as of 09:17, 8 February 2022

Modules naming convention: terraform-PROVIDER-NAME

Modules

Examples in main.tf

module "consul" {
  source = "./path/to/you/module"
}
module "yourmodule" {
  source = "github.com/your-project/terraform-your-templates/modules/yourmodule"
}

Related commands

Related terms

See also

Advertising: