-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
157 lines (131 loc) · 4.41 KB
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
output "id" {
description = "The ID of the GitHub repository."
value = github_repository.this.repo_id
}
output "node_id" {
description = "The node ID of the GitHub repository. This is GraphQL global node id for use with v4 API."
value = github_repository.this.node_id
}
output "name" {
description = "The name of the repository."
value = github_repository.this.name
}
output "full_name" {
description = "The full name of the repository. A string of the form `orgname/reponame`"
value = github_repository.this.full_name
}
output "description" {
description = "The description of the repository."
value = github_repository.this.description
}
output "homepage" {
description = "A URL of the website for the repository."
value = github_repository.this.homepage_url
}
output "url" {
description = "The URL of the repository."
value = github_repository.this.html_url
}
output "git_clone_url" {
description = "The URL that can be provided to `git clone` to clone the repository anonymously via the git protocol."
value = github_repository.this.git_clone_url
}
output "http_clone_url" {
description = "The URL that can be provided to `git clone` to clone the repository anonymously via HTTPS."
value = github_repository.this.http_clone_url
}
output "ssh_clone_url" {
description = "The URL that can be provided to `git clone` to clone the repository anonymously via SSH."
value = github_repository.this.ssh_clone_url
}
output "visibility" {
description = "The visibility of the repository. Can be `public`, `private` or `internal`."
value = github_repository.this.visibility
}
output "is_template" {
description = "Whether this is a template repository."
value = github_repository.this.is_template
}
output "archived" {
description = "Whether the repository is archived."
value = github_repository.this.archived
}
output "template" {
description = "The template of the repository."
value = var.template
}
output "features" {
description = "A list of available features on the repository."
value = var.features
}
output "merge_strategies" {
description = "A list of available strategies for merging pull requests on the repository."
value = var.merge_strategies
}
output "auto_merge_enabled" {
description = "Whether to wait for merge requirements to be met and then merge automatically."
value = github_repository.this.allow_auto_merge
}
output "delete_branch_on_merge" {
description = "Automatically delete head branch after a pull request is merged."
value = github_repository.this.delete_branch_on_merge
}
output "topics" {
description = "A list of topics for the repository."
value = github_repository_topics.this.topics
}
output "issue_labels" {
description = "A list of issue labels for the repository."
value = [
for label in github_issue_label.this : {
name = label.name
color = label.color
description = label.description
}
]
}
output "autolink_references" {
description = "A list of autolink references for the repository."
value = [
for reference in github_repository_autolink_reference.this : {
key_prefix = reference.key_prefix
target_url_template = reference.target_url_template
is_alphanumeric = reference.is_alphanumeric
}
]
}
output "access" {
description = "The configuration for the repository access."
value = {
collaborators = var.access.collaborators
teams = var.access.teams
sync_enabled = var.access.sync_enabled
}
}
output "branches" {
description = "A list of the repository branches excluding initial branch."
value = var.branches
}
output "default_branch" {
description = "The default branch of the repository."
value = one(github_branch_default.this[*].branch)
}
output "vulnerability_alerts" {
description = "Whether the security alerts are enabled for vulnerable dpendencies."
value = github_repository.this.vulnerability_alerts
}
output "deploy_keys" {
description = "A map of deploy keys granted access to the repository."
value = {
for name, deploy_key in github_repository_deploy_key.this :
name => {
name = name
key = deploy_key.key
writable = !deploy_key.read_only
}
}
}
output "pages" {
description = "The repository's GitHub Pages configuration."
value = var.pages
}