Difference between revisions of "Module (Terraform)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
module "consul" { | module "consul" { | ||
[[Terraform modules: source|source]] = "./path/to/you/module" | [[Terraform modules: source|source]] = "./path/to/you/module" | ||
+ | } | ||
+ | |||
+ | module "consul" { | ||
+ | [[Terraform modules: source|source]] = "git::https://path/to/you/gitrepo/module?[[ref]]=latest" | ||
} | } | ||
Revision as of 16:31, 15 November 2023
module "consul" { source = "./path/to/you/module" }
module "consul" { source = "git::https://path/to/you/gitrepo/module?ref=latest" }
Related
See also
Advertising: