Adding
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# AZDO
|
||||
data "azuredevops_project" "project" {
|
||||
name = local.lz_config.azdo_project_name
|
||||
}
|
||||
|
||||
data "http" "azdo_service_connections" {
|
||||
for_each = local.aks_service_connections
|
||||
url = "https://dev.azure.com/landmarkcu/${local.lz_config.azdo_project_name}/_apis/serviceendpoint/endpoints?endpointNames=${each.value}"
|
||||
method = "GET"
|
||||
request_headers = {
|
||||
authorization = "basic ${base64encode(":${var.AZDO_PAT_TOKEN}")}"
|
||||
}
|
||||
}
|
||||
|
||||
data "azuredevops_group" "db_prd_approvers" {
|
||||
name = "ADO - DB PRD Approvers"
|
||||
}
|
||||
Reference in New Issue
Block a user