File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11# Argument validation for user-group-assignment module
22run "check_for_invalid_user" {
3- module {
4- source = " ./modules/user_groups_assignment"
5- }
3+ command = plan
64
75 variables {
86 user_groups_mapping = {
@@ -12,43 +10,45 @@ run "check_for_invalid_user" {
1210 }
1311 }
1412
15- command = plan
13+ module {
14+ source = " ./modules/user_groups_assignment"
15+ }
1616
1717 expect_failures = [
1818 var . user_groups_mapping
1919 ]
2020}
2121
2222run "check_for_valid_user_with_no_groups" {
23- module {
24- source = " ./modules/user_groups_assignment"
25- }
23+ command = plan
2624
2725 variables {
2826 user_groups_mapping = {
2927 " dummyUser@gmail.com" = []
3028 }
3129 }
3230
33- command = plan
31+ module {
32+ source = " ./modules/user_groups_assignment"
33+ }
3434
3535 expect_failures = [
3636 var . user_groups_mapping
3737 ]
3838}
3939
4040run "check_for_invalid_group" {
41- module {
42- source = " ./modules/user_groups_assignment"
43- }
41+ command = plan
4442
4543 variables {
4644 user_groups_mapping = {
4745 " dummyUser@gmail.com" = [" " ]
4846 }
4947 }
5048
51- command = plan
49+ module {
50+ source = " ./modules/user_groups_assignment"
51+ }
5252
5353 expect_failures = [
5454 var . user_groups_mapping
You can’t perform that action at this time.
0 commit comments