Skip to content

Commit

Permalink
Use correct library
Browse files Browse the repository at this point in the history
  • Loading branch information
maximenoel8 committed Oct 3, 2024
1 parent b824711 commit fcc52b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terracumber/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_config(path):
"""Return a dictionary with all the variables from a HCL file"""
config = {}
with open(path, 'r') as cfg:
hcl_file = hcl.load(cfg)
hcl_file = hcl2.load(cfg)
if not 'variable' in hcl_file.keys():
return config
for key, value in hcl_file['variable'].items():
Expand Down

0 comments on commit fcc52b4

Please sign in to comment.