Difference between revisions of "Error: Duplicate module call"

From wikieduonline
Jump to navigation Jump to search
 
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]]
  
  

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: