Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 16, 2020 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/dce7e5e33ad33e88ad42032cce93086f to your computer and use it in GitHub Desktop.
Save goyalmohit/dce7e5e33ad33e88ad42032cce93086f to your computer and use it in GitHub Desktop.
# partially complete code block below - will not work in isolation
resource "azuredevops_serviceendpoint_azurerm" "endpointazure" {
project_id = azuredevops_project.tf-example.id
service_endpoint_name = "azurerm_endpoint_test"
description = "Managed by Terraform"
credentials {
serviceprincipalid = var.service_principal_id
serviceprincipalkey = var.service_principal_key
}
azurerm_spn_tenantid = var.azurerm_spn_tenant_id
azurerm_subscription_id = var.azurerm_subscription_id
azurerm_subscription_name = "pay-as-you-go"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment