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
Fix: implement prevent_auto_deploy flag to allow configuration updates without triggering deployments (#1103)
* Feat: implement prevent_auto_deploy flag to allow configuration updates without triggering deployments
* Test: add unit tests for prevent_auto_deploy flag to verify configuration updates without deployment
Copy file name to clipboardExpand all lines: docs/resources/environment.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ If true must specify one of the following - 'github_installation_id' if using Gi
73
73
-`is_remote_backend` (Boolean) should use remote backend
74
74
-`k8s_namespace` (String) kubernetes (or helm) namespace to be used. If modified deletes current environment and creates a new one
75
75
-`output` (String) the deployment log output. Returns a json string. It can be either a map of key-value, or an array of (in case of Terragrunt run-all) of moduleName and a map of key-value. Note: if the deployment is still in progress returns 'null'
76
-
-`prevent_auto_deploy` (Boolean) use this flag to prevent auto deploy on environment creation
76
+
-`prevent_auto_deploy` (Boolean) use this flag to prevent the provider from triggering a deployment (run) when the environment is created or updated. On update, changes to 'configuration', 'sub_environment_configuration' variables and 'variable_sets' are still saved to env0 without a deployment, while changes to 'revision' and 'template_id' are only applied by your next deployment
77
77
-`removal_strategy` (String) by default when removing an environment, it gets destroyed. Setting this value to 'mark_as_archived' will force the environment to be archived instead of tying to destroy it ('Mark as inactive' in the UI)
78
78
-`revision` (String) the revision the environment is to be run against. Please note that changing this attribute will require environment redeploy
79
79
-`run_plan_on_pull_requests` (Boolean) should run terraform plan on pull requests creations.
Description: "use this flag to prevent auto deploy on environment creation",
275
+
Description: "use this flag to prevent the provider from triggering a deployment (run) when the environment is created or updated. On update, changes to 'configuration', 'sub_environment_configuration' variables and 'variable_sets' are still saved to env0 without a deployment, while changes to 'revision' and 'template_id' are only applied by your next deployment",
276
276
Optional: true,
277
277
},
278
278
"terragrunt_working_directory": {
@@ -433,7 +433,15 @@ func setEnvironmentSchema(ctx context.Context, d *schema.ResourceData, environme
0 commit comments