Skip to content

Commit 1b27d76

Browse files
committed
Fix auto-approve option on mach apply command
1 parent 7b24071 commit 1b27d76

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
==================
33
- Fixed rendering of STORE environment variables in components
44
- Updated Terraform version to 0.13.4
5-
5+
- Fix `--auto-approve` option on `mach apply` command
6+
67

78
0.2.0 (06-10-2020)
89
=================

src/mach/terraform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def apply_terraform(
4949
cmd = ["apply"]
5050
if auto_approve:
5151
cmd += ["-auto-approve"]
52-
run_terraform(["apply"], site_dir)
52+
run_terraform(cmd, site_dir)
5353

5454

5555
def azure_sp_login():

0 commit comments

Comments
 (0)