Skip to content

Commit c442cd8

Browse files
committed
forgot defeault deployment groups
1 parent 56c3123 commit c442cd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/terraform/v1.13.x/docs/language/stacks/deploy/conditions.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ description: Learn how to use deployment groups to create orchestration rules th
55

66
# Set conditions for deployment runs
77

8-
Learn how to use deployment groups to create orchestration rules that automatically approve deployment runs, helping your manage your deployments at scale.
8+
Learn how to use deployment groups to create orchestration rules that automatically approve deployment runs, helping you manage your deployments at scale.
99

1010
## Create deployment groups
1111

1212
You can create deployment groups in your deployment configuration file to define rules that let you auto-approve deployment runs.
1313

14+
If you do not explicitly define a group for a deployment, Terraform automatically creates a default deployment group associated with that deployment. You cannot define custom rules on default deployment groups.
15+
1416
<Note>
1517

1618
Deployment groups only support one deployment per group at this time.
@@ -32,8 +34,6 @@ deployment_group "staging_group" {
3234

3335
Deployment groups require you to define the rules that group enforces.
3436

35-
## Define auto-approve rules
36-
3737
The `deployment_auto_approve` rule is helpful when you know you want a certain type of plan to go ahead without manual intervention. For example, Stacks have a default auto-approve rule named `empty_plan`, which automatically approves a plan if it has no changes.
3838

3939
Use the `deployment_auto_approve` block to define an auto-approval rule that automatically approves a deployment plan if the condition you set is met. In the the following example, the `no_changes` rule automatically approves a deployment plan if it has no changes:

0 commit comments

Comments
 (0)