-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
56 lines (48 loc) · 2.19 KB
/
Copy pathoutputs.tf
File metadata and controls
56 lines (48 loc) · 2.19 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
##-----------------------------------------------------------------------------
## Managed DevOps Pool Outputs
##-----------------------------------------------------------------------------
output "managed_devops_pool_id" {
value = try(azurerm_managed_devops_pool.default[0].id, null)
description = "The ID of the Managed DevOps Pool."
}
output "managed_devops_pool_name" {
value = var.enable ? local.managed_devops_pool_name : null
description = "The name of the Managed DevOps Pool and Azure DevOps agent pool."
}
##-----------------------------------------------------------------------------
## Dev Center Outputs
##-----------------------------------------------------------------------------
output "dev_center_id" {
value = var.enable ? local.dev_center_id : null
description = "The created or supplied Dev Center ID."
}
output "dev_center_name" {
value = var.enable && var.create_dev_center ? local.dev_center_name : null
description = "The name of the Dev Center created by the module."
}
##-----------------------------------------------------------------------------
## Dev Center Project Outputs
##-----------------------------------------------------------------------------
output "dev_center_project_id" {
value = var.enable ? local.dev_center_project_id : null
description = "The created or supplied Dev Center Project ID."
}
output "dev_center_project_name" {
value = var.enable && var.create_dev_center_project ? local.dev_center_project_name : null
description = "The name of the Dev Center Project created by the module."
}
##-----------------------------------------------------------------------------
## Configuration Outputs
##-----------------------------------------------------------------------------
output "azure_devops_organization_urls" {
value = [for organization in var.azure_devops_organizations : organization.url]
description = "Azure DevOps organization URLs associated with the pool."
}
output "subnet_id" {
value = var.subnet_id
description = "The delegated subnet ID used by the pool agents."
}
output "tags" {
value = module.labels.tags
description = "Tags applied to resources created by this module."
}