Terraform modules

From wikieduonline
(Redirected from Tf modules)
Jump to navigation Jump to search

Modules naming convention: terraform-PROVIDER-NAME

Update modules:

List modules and versions:

Related commands[edit]

AWS modules[edit]

Others[edit]

Examples in main.tf[edit]

module "yourconsul" {
  source = "./path/to/you/module"
}
module "yourmodule" {
  source = "github.com/your-project/terraform-your-templates/modules/yourmodule"
}
module "your_ec2_instance" {
  source  = "terraform-aws-modules/ec2-instance/aws"
  version = "~> 3.0"
}
module "your_module" {
  source =  git::[email protected]:your-org/your-project.git?ref=your-branch
}

Errors[edit]

Related terms[edit]

See also[edit]

Advertising: