Skip to content

Commit 1fe196d

Browse files
committed
foo
1 parent 4d5b5f3 commit 1fe196d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/module_utils/terraform_commands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ def apply_plan(
7575
command.append("-lock-timeout={0}s".format(lock_timeout))
7676

7777
for t in targets:
78-
command.extend(["-target", t])
78+
command.append(f"-target={t}")
7979
for e in excludes:
80-
command.extend(["-exclude", e])
80+
command.append(f"-exclude={e}")
8181

8282
command.append(plan_file_path)
8383

@@ -114,7 +114,7 @@ def init(
114114
if backend_config:
115115
for key, val in backend_config.items():
116116
command.extend(["-backend-config", "{0}={1}".format(key, val)])
117-
if backend_config_files:
117+
if bckend_config_files:
118118
for f in backend_config_files:
119119
command.extend(["-backend-config", f])
120120
if reconfigure:

0 commit comments

Comments
 (0)