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
Copy file name to clipboardExpand all lines: README.md
+36-28Lines changed: 36 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,9 +117,9 @@ See [variables.tf] and [examples/] for details and use-cases.
117
117
118
118
A object of default settings to use instead of module defaults for top-level arguments.
119
119
See below for a list of supported arguments.
120
-
120
+
121
121
This is a special argument to set various defaults to be reused for multiple repositories.
122
-
122
+
123
123
The following top-level arguments can be set as defaults:
124
124
`homepage_url`,
125
125
`visibility`,
@@ -137,7 +137,7 @@ See [variables.tf] and [examples/] for details and use-cases.
137
137
`topics`,
138
138
`issue_labels_create`,
139
139
`issue_labels_merge_with_github_labels`.
140
-
140
+
141
141
Module defaults are used for all arguments that are not set in `defaults`.
142
142
Using top level arguments override defaults set by this argument.
143
143
@@ -799,15 +799,15 @@ This is due to some terraform limitation and we will update the module once terr
799
799
800
800
This map allows you to create and manage secrets for repositories in your organization.
801
801
Each element in the map is considered a secret to be managed, being the key map the secret name and the value the corresponding secret in plain text:
802
-
802
+
803
803
```
804
804
plaintext_secrets = {
805
805
SECRET_NAME_1 = "secret_value_1"
806
806
SECRET_NAME_2 = "secret_value_2"
807
807
...
808
808
}
809
809
```
810
-
810
+
811
811
When applied, a secret with the given key and value will be created in the repositories.
812
812
The value of the secrets must be given in plain text, github provider is in charge of encrypting it.
813
813
**Attention:** You might want to get secrets via a data source from a secure vault and not add them in plain text to your source files; so you do not commit plaintext secrets into the git repository managing your github account.
@@ -836,52 +836,60 @@ This is due to some terraform limitation and we will update the module once terr
836
836
837
837
The following attributes are exported by the module:
All repository attributes as returned by the [`github_repository`] resource containing all arguments as specified above and the other attributes as specified below.
841
+
All repository attributes as returned by the [`github_repository`]
842
+
resource containing all arguments as specified above and the other
A merged map of deploy key objects for the keys originally passed via `deploy_keys` and `deploy_keys_computed` as returned by the [`github_repository_deploy_key`] resource keyed by the input `id` of the key.
873
+
A merged map of deploy key objects for the keys originally passed via
874
+
`deploy_keys` and `deploy_keys_computed` as returned by the
875
+
[`github_repository_deploy_key`] resource keyed by the input `id` of the
Copy file name to clipboardExpand all lines: README.tfdoc.hcl
+80-36Lines changed: 80 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -1091,56 +1091,100 @@ section {
1091
1091
title="Module Outputs"
1092
1092
content=<<-END
1093
1093
The following attributes are exported by the module:
1094
+
END
1094
1095
1095
-
- **`repository`**
1096
-
1097
-
All repository attributes as returned by the [`github_repository`] resource containing all arguments as specified above and the other attributes as specified below.
1098
-
1099
-
- **`full_name`**
1100
-
1101
-
A string of the form "orgname/reponame".
1102
-
1103
-
- **`html_url`**
1104
-
1105
-
URL to the repository on the web.
1106
-
1107
-
- **`ssh_clone_url`**
1108
-
1109
-
URL that can be provided to git clone to clone the repository via SSH.
1110
-
1111
-
- **`http_clone_url`**
1112
-
1113
-
URL that can be provided to git clone to clone the repository via HTTPS.
1114
-
1115
-
- **`git_clone_url`**
1096
+
output"repository" {
1097
+
type=object(repository)
1098
+
description=<<-END
1099
+
All repository attributes as returned by the [`github_repository`]
1100
+
resource containing all arguments as specified above and the other
1101
+
attributes as specified below.
1102
+
END
1103
+
}
1116
1104
1117
-
URL that can be provided to git clone to clone the repository anonymously via the git protocol.
1105
+
output"full_name" {
1106
+
type=string
1107
+
description=<<-END
1108
+
A string of the form "orgname/reponame".
1109
+
END
1110
+
}
1118
1111
1119
-
- **`collaborators`**
1112
+
output"html_url" {
1113
+
type=string
1114
+
description=<<-END
1115
+
URL to the repository on the web.
1116
+
END
1117
+
}
1120
1118
1121
-
A map of Collaborator objects keyed by the `name` of the collaborator as returned by the
1122
-
[`github_repository_collaborator`] resource.
1119
+
output"ssh_clone_url" {
1120
+
type=string
1121
+
description=<<-END
1122
+
URL that can be provided to git clone to clone the repository via SSH.
1123
+
END
1124
+
}
1123
1125
1124
-
- **`deploy_keys`**
1126
+
output"http_clone_url" {
1127
+
type=string
1128
+
description=<<-END
1129
+
URL that can be provided to git clone to clone the repository via HTTPS.
1130
+
END
1131
+
}
1125
1132
1126
-
A merged map of deploy key objects for the keys originally passed via `deploy_keys` and `deploy_keys_computed` as returned by the [`github_repository_deploy_key`] resource keyed by the input `id` of the key.
1133
+
output"git_clone_url" {
1134
+
type=string
1135
+
description=<<-END
1136
+
URL that can be provided to git clone to clone the repository
1137
+
anonymously via the git protocol.
1138
+
END
1139
+
}
1127
1140
1128
-
- **`projects`**
1141
+
output"collaborators" {
1142
+
type=object(collaborators)
1143
+
description=<<-END
1144
+
A map of Collaborator objects keyed by the `name` of the collaborator as
1145
+
returned by the [`github_repository_collaborator`] resource.
1146
+
END
1147
+
}
1129
1148
1130
-
A map of Project objects keyed by the `id` of the project as returned by the [`github_repository_project`] resource
1149
+
output"deploy_keys" {
1150
+
type=object(deploy_keys)
1151
+
description=<<-END
1152
+
A merged map of deploy key objects for the keys originally passed via
1153
+
`deploy_keys` and `deploy_keys_computed` as returned by the
1154
+
[`github_repository_deploy_key`] resource keyed by the input `id` of the
1155
+
key.
1156
+
END
1157
+
}
1131
1158
1132
-
- **`issue_labels`**
1159
+
output"projects" {
1160
+
type=object(project)
1161
+
description=<<-END
1162
+
A map of Project objects keyed by the `id` of the project as returned by
1163
+
the [`github_repository_project`] resource
1164
+
END
1165
+
}
1133
1166
1167
+
output"issue_labels" {
1168
+
type=object(issue_label)
1169
+
description=<<-END
1134
1170
A map of issue labels keyed by label input id or name.
1171
+
END
1172
+
}
1135
1173
1136
-
- **`webhooks`**
1137
-
1138
-
All attributes and arguments as returned by the github_repository_webhook resource.
0 commit comments