Difference between revisions of "Terraform modules"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
  
 
== Related terms ==
 
== Related terms ==
* <code>[[source (Terraform modules)|source]]</code>
+
* [[Terraform modules: source]]
 
* [[Terragrunt]]
 
* [[Terragrunt]]
 
* [[Ansible modules]]
 
* [[Ansible modules]]

Revision as of 09:54, 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: