Difference between revisions of "Terraform modules"

From wikieduonline
Jump to navigation Jump to search
Line 30: Line 30:
 
* [[Terraform resources]]
 
* [[Terraform resources]]
 
* [[Provider (Terraform)]]: <code>[[aws]]</code>
 
* [[Provider (Terraform)]]: <code>[[aws]]</code>
* <code>[[terraform get]]</code>
 
* <code>[[terraform get -update]]</code>
 
 
* [[Error: Module not installed]]
 
* [[Error: Module not installed]]
 
* [[Terraform registry]]: https://registry.terraform.io/browse/modules
 
* [[Terraform registry]]: https://registry.terraform.io/browse/modules

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 terms

See also

Advertising: