Skip to content

Commit

Permalink
Bugfix | Fix backend config file path for terraform init (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelofenoglio authored Mar 22, 2022
1 parent a10c516 commit 4b0fe37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leverage/modules/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def terraform(state):
@pass_container
def init(tf, no_backend, args):
""" Initialize this layer. """
backend_config = ["-backend=false" if no_backend else f"-backend-config={tf.BACKEND_TFVARS}"]
backend_config = ["-backend=false" if no_backend else f"-backend-config={tf.TF_BACKEND_TFVARS}"]
args = backend_config + list(args)
exit_code = tf.start_in_layer("init", *args)

Expand Down

0 comments on commit 4b0fe37

Please sign in to comment.