-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathoutputs.tf
More file actions
64 lines (52 loc) · 1.93 KB
/
outputs.tf
File metadata and controls
64 lines (52 loc) · 1.93 KB
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
output "full_name" {
description = "Full name of the created repository"
value = join("", github_repository.default[*].full_name)
}
output "html_url" {
description = "HTML URL of the created repository"
value = join("", github_repository.default[*].html_url)
}
output "ssh_clone_url" {
description = "SSH clone URL of the created repository"
value = join("", github_repository.default[*].ssh_clone_url)
}
output "http_clone_url" {
description = "SSH clone URL of the created repository"
value = join("", github_repository.default[*].http_clone_url)
}
output "git_clone_url" {
description = "Git clone URL of the created repository"
value = join("", github_repository.default[*].git_clone_url)
}
output "svn_url" {
description = "SVN URL of the created repository"
value = join("", github_repository.default[*].svn_url)
}
output "node_id" {
description = "Node ID of the created repository"
value = join("", github_repository.default[*].node_id)
}
output "repo_id" {
description = "Repository ID of the created repository"
value = join("", github_repository.default[*].repo_id)
}
output "primary_language" {
description = "Primary language of the created repository"
value = join("", github_repository.default[*].primary_language)
}
output "webhooks_urls" {
description = "Webhooks URLs"
value = { for k, v in github_repository_webhook.default : k => v.url }
}
output "collaborators_invitation_ids" {
description = "Collaborators invitation IDs"
value = module.this.enabled ? github_repository_collaborators.default[*].invitation_ids : []
}
output "rulesets_node_ids" {
description = "Rulesets node IDs"
value = { for k, v in github_repository_ruleset.default : k => v.node_id }
}
output "rulesets_rules_ids" {
description = "Rulesets rules IDs"
value = { for k, v in github_repository_ruleset.default : k => format("%d", v.ruleset_id) }
}