You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/reference/cli/mach-composer_terraform.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,7 @@ mach-composer terraform [flags]
13
13
-h, --help help for terraform
14
14
--ignore-change-detection Ignore change detection to run even if the components are considered up to date. Per default the proxy will ignore change detection (default true)
15
15
--ignore-version Skip MACH composer version check
16
-
--output-path string Outputs path to store the generated files. (default "deployments")
17
-
-s, --site string Site to parse. If not set parse all sites.
16
+
-o, --output-path string Outputs path to store the generated files. (default "deployments")
18
17
--var-file string Use a variable file to parse the configuration with.
19
18
-w, --workers int The number of workers to use (default 1)
Copy file name to clipboardExpand all lines: internal/cmd/apply.go
+3-1
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ var applyFlags struct {
16
16
autoApprovebool
17
17
destroybool
18
18
components []string
19
+
sitestring
19
20
numWorkersint
20
21
ignoreChangeDetectionbool
21
22
}
@@ -37,6 +38,7 @@ func init() {
37
38
applyCmd.Flags().BoolVarP(&applyFlags.forceInit, "force-init", "", false, "Force terraform initialization. By default mach-composer will reuse existing terraform resources")
38
39
applyCmd.Flags().BoolVarP(&applyFlags.autoApprove, "auto-approve", "", false, "Suppress a terraform init for improved speed (not recommended for production usage)")
39
40
applyCmd.Flags().BoolVarP(&applyFlags.destroy, "destroy", "", false, "Destroy option is a convenient way to destroy all remote objects managed by this mach config")
41
+
applyCmd.Flags().StringVarP(&applyFlags.site, "site", "s", "", "Site to parse. If not set parse all sites.")
applyCmd.Flags().BoolVarP(&applyFlags.ignoreChangeDetection, "ignore-change-detection", "", false, "Ignore change detection to run even if the components are considered up to date")
planCmd.Flags().BoolVarP(&planFlags.lock, "lock", "", true, "Acquire a lock on the state file before running terraform plan")
38
40
planCmd.Flags().BoolVarP(&planFlags.ignoreChangeDetection, "ignore-change-detection", "", false, "Ignore change detection to run even if the components are considered up to date")
0 commit comments