Difference between revisions of "Terraform modules"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
* <code>module [[route53]]</code>: zones, record (https://registry.terraform.io/modules/terraform-aws-modules/route53/aws/latest)
 
* <code>module [[route53]]</code>: zones, record (https://registry.terraform.io/modules/terraform-aws-modules/route53/aws/latest)
 
* <code>module [[cicd (terraform module)|cicd]]</code> https://registry.terraform.io/modules/cloudposse/cicd/aws/latest
 
* <code>module [[cicd (terraform module)|cicd]]</code> https://registry.terraform.io/modules/cloudposse/cicd/aws/latest
* [[eks]] https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest
+
* module <code>[[eks]]</code> https://registry.terraform.io/modules/terraform-aws-modules/eks/aws/latest
  
 
== Examples in [[main.tf]] ==
 
== Examples in [[main.tf]] ==

Revision as of 20:06, 29 November 2021

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: