-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
46 lines (38 loc) · 1.34 KB
/
outputs.tf
File metadata and controls
46 lines (38 loc) · 1.34 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
# Azure Resource Group Outputs
output "resource_group_name" {
description = "Name of the created Azure Resource Group"
value = azurerm_resource_group.main.name
}
output "resource_group_id" {
description = "ID of the created Azure Resource Group"
value = azurerm_resource_group.main.id
}
output "resource_group_location" {
description = "Location of the Azure Resource Group"
value = azurerm_resource_group.main.location
}
output "azure_portal_url" {
description = "Direct link to the Resource Group in Azure Portal"
value = "https://portal.azure.com/#@/resource${azurerm_resource_group.main.id}"
}
# GitHub Repository Outputs
output "github_repo_name" {
description = "Name of the created GitHub repository"
value = github_repository.main.name
}
output "github_repo_full_name" {
description = "Full name of the GitHub repository (owner/repo)"
value = github_repository.main.full_name
}
output "github_repo_url" {
description = "URL of the GitHub repository"
value = github_repository.main.html_url
}
output "github_repo_clone_url" {
description = "HTTPS clone URL for the GitHub repository"
value = github_repository.main.http_clone_url
}
output "github_repo_ssh_clone_url" {
description = "SSH clone URL for the GitHub repository"
value = github_repository.main.ssh_clone_url
}