@@ -10,6 +10,7 @@ import (
10
10
11
11
"github.com/hashicorp/go-version"
12
12
"github.com/runatlantis/atlantis/server/core/config"
13
+ "github.com/runatlantis/atlantis/server/core/config/raw"
13
14
"github.com/runatlantis/atlantis/server/core/config/valid"
14
15
. "github.com/runatlantis/atlantis/testing"
15
16
)
@@ -217,7 +218,7 @@ projects:
217
218
WorkflowName : nil ,
218
219
TerraformVersion : nil ,
219
220
Autoplan : valid.Autoplan {
220
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
221
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
221
222
Enabled : true ,
222
223
},
223
224
ApplyRequirements : nil ,
@@ -240,7 +241,7 @@ projects:
240
241
Dir : "." ,
241
242
Workspace : "default" ,
242
243
Autoplan : valid.Autoplan {
243
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
244
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
244
245
Enabled : true ,
245
246
},
246
247
},
@@ -286,7 +287,7 @@ projects:
286
287
Dir : "." ,
287
288
Workspace : "default" ,
288
289
Autoplan : valid.Autoplan {
289
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
290
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
290
291
Enabled : true ,
291
292
},
292
293
},
@@ -309,7 +310,7 @@ workflows: ~
309
310
Dir : "." ,
310
311
Workspace : "default" ,
311
312
Autoplan : valid.Autoplan {
312
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
313
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
313
314
Enabled : true ,
314
315
},
315
316
},
@@ -337,7 +338,7 @@ workflows:
337
338
Dir : "." ,
338
339
Workspace : "default" ,
339
340
Autoplan : valid.Autoplan {
340
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
341
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
341
342
Enabled : true ,
342
343
},
343
344
},
@@ -368,7 +369,7 @@ workflows:
368
369
WorkflowName : String ("myworkflow" ),
369
370
TerraformVersion : tfVersion ,
370
371
Autoplan : valid.Autoplan {
371
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
372
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
372
373
Enabled : true ,
373
374
},
374
375
ApplyRequirements : []string {"approved" },
@@ -402,7 +403,7 @@ workflows:
402
403
WorkflowName : String ("myworkflow" ),
403
404
TerraformVersion : tfVersion ,
404
405
Autoplan : valid.Autoplan {
405
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
406
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
406
407
Enabled : false ,
407
408
},
408
409
ApplyRequirements : []string {"approved" },
@@ -436,7 +437,7 @@ workflows:
436
437
WorkflowName : String ("myworkflow" ),
437
438
TerraformVersion : tfVersion ,
438
439
Autoplan : valid.Autoplan {
439
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
440
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
440
441
Enabled : false ,
441
442
},
442
443
ApplyRequirements : []string {"mergeable" },
@@ -470,7 +471,7 @@ workflows:
470
471
WorkflowName : String ("myworkflow" ),
471
472
TerraformVersion : tfVersion ,
472
473
Autoplan : valid.Autoplan {
473
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
474
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
474
475
Enabled : false ,
475
476
},
476
477
ApplyRequirements : []string {"undiverged" },
@@ -504,7 +505,7 @@ workflows:
504
505
WorkflowName : String ("myworkflow" ),
505
506
TerraformVersion : tfVersion ,
506
507
Autoplan : valid.Autoplan {
507
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
508
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
508
509
Enabled : false ,
509
510
},
510
511
ApplyRequirements : []string {"mergeable" , "approved" },
@@ -538,7 +539,7 @@ workflows:
538
539
WorkflowName : String ("myworkflow" ),
539
540
TerraformVersion : tfVersion ,
540
541
Autoplan : valid.Autoplan {
541
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
542
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
542
543
Enabled : false ,
543
544
},
544
545
ApplyRequirements : []string {"undiverged" , "approved" },
@@ -572,7 +573,7 @@ workflows:
572
573
WorkflowName : String ("myworkflow" ),
573
574
TerraformVersion : tfVersion ,
574
575
Autoplan : valid.Autoplan {
575
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
576
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
576
577
Enabled : false ,
577
578
},
578
579
ApplyRequirements : []string {"undiverged" , "mergeable" },
@@ -606,7 +607,7 @@ workflows:
606
607
WorkflowName : String ("myworkflow" ),
607
608
TerraformVersion : tfVersion ,
608
609
Autoplan : valid.Autoplan {
609
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
610
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
610
611
Enabled : false ,
611
612
},
612
613
ApplyRequirements : []string {"undiverged" , "mergeable" , "approved" },
@@ -716,7 +717,7 @@ projects:
716
717
Dir : "." ,
717
718
Workspace : "workspace" ,
718
719
Autoplan : valid.Autoplan {
719
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
720
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
720
721
Enabled : true ,
721
722
},
722
723
},
@@ -725,7 +726,7 @@ projects:
725
726
Dir : "." ,
726
727
Workspace : "workspace" ,
727
728
Autoplan : valid.Autoplan {
728
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
729
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
729
730
Enabled : true ,
730
731
},
731
732
},
@@ -767,7 +768,7 @@ workflows:
767
768
Dir : "." ,
768
769
Workspace : "default" ,
769
770
Autoplan : valid.Autoplan {
770
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
771
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
771
772
Enabled : true ,
772
773
},
773
774
},
@@ -866,7 +867,7 @@ workflows:
866
867
Dir : "." ,
867
868
Workspace : "default" ,
868
869
Autoplan : valid.Autoplan {
869
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
870
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
870
871
Enabled : true ,
871
872
},
872
873
},
@@ -957,7 +958,7 @@ workflows:
957
958
Dir : "." ,
958
959
Workspace : "default" ,
959
960
Autoplan : valid.Autoplan {
960
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
961
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
961
962
Enabled : true ,
962
963
},
963
964
},
@@ -1050,7 +1051,7 @@ workflows:
1050
1051
Dir : "." ,
1051
1052
Workspace : "default" ,
1052
1053
Autoplan : valid.Autoplan {
1053
- WhenModified : [] string { "**/*.tf*" , "**/terragrunt.hcl" } ,
1054
+ WhenModified : raw . DefaultAutoPlanWhenModified ,
1054
1055
Enabled : true ,
1055
1056
},
1056
1057
},
0 commit comments