Difference between revisions of "Module (Terraform)"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | |||
− | |||
− | |||
module "consul" { | module "consul" { | ||
[[Terraform modules: source|source]] = "./path/to/you/module" | [[Terraform modules: source|source]] = "./path/to/you/module" | ||
+ | } | ||
+ | |||
+ | module "yourmodule" { | ||
+ | [[Terraform modules: source|source]] = "git::https://path/to/you/gitrepo/module?[[ref]]=latest" | ||
} | } | ||
== Related == | == Related == | ||
* [[include]] | * [[include]] | ||
+ | * [[terragrunt.hcl]] | ||
+ | * [[Terraform module keyword]] | ||
== See also == | == See also == |
Latest revision as of 16:31, 15 November 2023
Advertising: