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
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`,
@@ -138,7 +138,7 @@ See [variables.tf] and [examples/] for details and use-cases.
138
138
`topics`,
139
139
`issue_labels_create`,
140
140
`issue_labels_merge_with_github_labels`.
141
-
141
+
142
142
Module defaults are used for all arguments that are not set in `defaults`.
143
143
Using top level arguments override defaults set by this argument.
144
144
@@ -809,15 +809,15 @@ This is due to some terraform limitation and we will update the module once terr
809
809
810
810
This map allows you to create and manage secrets for repositories in your organization.
811
811
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:
812
-
812
+
813
813
```
814
814
plaintext_secrets = {
815
815
SECRET_NAME_1 = "secret_value_1"
816
816
SECRET_NAME_2 = "secret_value_2"
817
817
...
818
818
}
819
819
```
820
-
820
+
821
821
When applied, a secret with the given key and value will be created in the repositories.
822
822
The value of the secrets must be given in plain text, github provider is in charge of encrypting it.
823
823
**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.
@@ -846,52 +846,60 @@ This is due to some terraform limitation and we will update the module once terr
846
846
847
847
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.
851
+
All repository attributes as returned by the [`github_repository`]
852
+
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.
883
+
A merged map of deploy key objects for the keys originally passed via
884
+
`deploy_keys` and `deploy_keys_computed` as returned by the
885
+
[`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
@@ -1103,56 +1103,100 @@ section {
1103
1103
title="Module Outputs"
1104
1104
content=<<-END
1105
1105
The following attributes are exported by the module:
1106
+
END
1106
1107
1107
-
- **`repository`**
1108
-
1109
-
All repository attributes as returned by the [`github_repository`] resource containing all arguments as specified above and the other attributes as specified below.
1110
-
1111
-
- **`full_name`**
1112
-
1113
-
A string of the form "orgname/reponame".
1114
-
1115
-
- **`html_url`**
1116
-
1117
-
URL to the repository on the web.
1118
-
1119
-
- **`ssh_clone_url`**
1120
-
1121
-
URL that can be provided to git clone to clone the repository via SSH.
1122
-
1123
-
- **`http_clone_url`**
1124
-
1125
-
URL that can be provided to git clone to clone the repository via HTTPS.
1126
-
1127
-
- **`git_clone_url`**
1108
+
output"repository" {
1109
+
type=object(repository)
1110
+
description=<<-END
1111
+
All repository attributes as returned by the [`github_repository`]
1112
+
resource containing all arguments as specified above and the other
1113
+
attributes as specified below.
1114
+
END
1115
+
}
1128
1116
1129
-
URL that can be provided to git clone to clone the repository anonymously via the git protocol.
1117
+
output"full_name" {
1118
+
type=string
1119
+
description=<<-END
1120
+
A string of the form "orgname/reponame".
1121
+
END
1122
+
}
1130
1123
1131
-
- **`collaborators`**
1124
+
output"html_url" {
1125
+
type=string
1126
+
description=<<-END
1127
+
URL to the repository on the web.
1128
+
END
1129
+
}
1132
1130
1133
-
A map of Collaborator objects keyed by the `name` of the collaborator as returned by the
1134
-
[`github_repository_collaborator`] resource.
1131
+
output"ssh_clone_url" {
1132
+
type=string
1133
+
description=<<-END
1134
+
URL that can be provided to git clone to clone the repository via SSH.
1135
+
END
1136
+
}
1135
1137
1136
-
- **`deploy_keys`**
1138
+
output"http_clone_url" {
1139
+
type=string
1140
+
description=<<-END
1141
+
URL that can be provided to git clone to clone the repository via HTTPS.
1142
+
END
1143
+
}
1137
1144
1138
-
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.
1145
+
output"git_clone_url" {
1146
+
type=string
1147
+
description=<<-END
1148
+
URL that can be provided to git clone to clone the repository
1149
+
anonymously via the git protocol.
1150
+
END
1151
+
}
1139
1152
1140
-
- **`projects`**
1153
+
output"collaborators" {
1154
+
type=object(collaborators)
1155
+
description=<<-END
1156
+
A map of Collaborator objects keyed by the `name` of the collaborator as
1157
+
returned by the [`github_repository_collaborator`] resource.
1158
+
END
1159
+
}
1141
1160
1142
-
A map of Project objects keyed by the `id` of the project as returned by the [`github_repository_project`] resource
1161
+
output"deploy_keys" {
1162
+
type=object(deploy_keys)
1163
+
description=<<-END
1164
+
A merged map of deploy key objects for the keys originally passed via
1165
+
`deploy_keys` and `deploy_keys_computed` as returned by the
1166
+
[`github_repository_deploy_key`] resource keyed by the input `id` of the
1167
+
key.
1168
+
END
1169
+
}
1143
1170
1144
-
- **`issue_labels`**
1171
+
output"projects" {
1172
+
type=object(project)
1173
+
description=<<-END
1174
+
A map of Project objects keyed by the `id` of the project as returned by
1175
+
the [`github_repository_project`] resource
1176
+
END
1177
+
}
1145
1178
1179
+
output"issue_labels" {
1180
+
type=object(issue_label)
1181
+
description=<<-END
1146
1182
A map of issue labels keyed by label input id or name.
1183
+
END
1184
+
}
1147
1185
1148
-
- **`webhooks`**
1149
-
1150
-
All attributes and arguments as returned by the github_repository_webhook resource.
0 commit comments