File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ The following arguments are supported:
50
50
Valid values are ` private ` , ` internal ` , ` public ` .
51
51
Repositories are created as private by default.
52
52
53
+ * ` shared_with_groups ` - (Optional) Enable sharing the project with a list of groups (maps).
54
+ * ` group_id ` - (Required) Group id of the group you want to share the project with.
55
+ * ` group_access_level ` - (Optional) Group's sharing permissions. See [ group members permission] [ group_members_permissions ] for more info.
56
+ Valid values are ` guest ` , ` reporter ` , ` developer ` , ` master ` .
57
+
53
58
## Attributes Reference
54
59
55
60
The following additional attributes are exported:
@@ -66,6 +71,9 @@ The following additional attributes are exported:
66
71
67
72
* ` runners_token ` - Registration token to use during runner setup.
68
73
74
+ * ` shared_with_groups ` - List of the groups the project is shared with.
75
+ * ` group_name ` - Group's name.
76
+
69
77
## Importing projects
70
78
71
79
You can import a project state using ` terraform import <resource> <id> ` . The
@@ -75,3 +83,4 @@ its `:id` value, so for example:
75
83
terraform import gitlab_project.example richardc/example
76
84
77
85
[ get_single_project ] : https://docs.gitlab.com/ee/api/projects.html#get-single-project
86
+ [ group_members_permissions ] : https://docs.gitlab.com/ce/user/permissions.html#group-members-permissions
You can’t perform that action at this time.
0 commit comments