Difference between revisions of "Error: Duplicate module call"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
│ A module call named "db" was already defined at main.tf:68,1-12. Module calls must have unique names within a module. | │ A module call named "db" was already defined at main.tf:68,1-12. Module calls must have unique names within a module. | ||
╵ | ╵ | ||
− | Solution: change name used to call your module | + | Solution: change name used to call your module and execute [[terraform init]] |
== Related == | == Related == | ||
* <code>[[Terraform modules: source]]</code> | * <code>[[Terraform modules: source]]</code> | ||
+ | * <code>[[terraform init]]</code> | ||
== See also == | == See also == |
Latest revision as of 22:59, 6 June 2022
╷ │ Error: Duplicate module call │ │ on main.tf line 133: │ 133: module "db" { │ │ A module call named "db" was already defined at main.tf:68,1-12. Module calls must have unique names within a module. ╵ Solution: change name used to call your module and execute terraform init
Related[edit]
See also[edit]
Advertising: