Terraform modules

From wikieduonline
Revision as of 11:03, 30 May 2024 by Welcome (talk | contribs) (→‎Examples in main.tf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: