terraform-provider-azuredevops
terraform-provider-azuredevops copied to clipboard
Add ability to add a resource under an Environment - Kubernetes / Virtual Machine
Hi,
I am not able to find the functionality, maybe I have it wrong, but is there a way to create a resource under an environment? ie: either add a kubernetes namespace or a virtual machine.
We are presently stuck at creating a functioning environment because this is missing (or we are not able to find out how to do it).
The missing piece is supposed to under-the-hood call MS azure devops REST API: https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/kubernetes/add?view=azure-devops-rest-6.0
POST https://dev.azure.com/{organization}/{project}/_apis/distributedtask/environments/{environmentId}/providers/kubernetes?api-version=6.0-preview.1
We are using the pulumi devops provider which derives from the terraform provider.
Thanks for your time,

Here is an image for better understanding of what we would need.
@Phil1972 I implemented this a few months ago in https://github.com/microsoft/terraform-provider-azuredevops/pull/553. Unfortunately it's blocked by an upstream issue no one seems to care much about... which pretty much describes my entire experience with the https://github.com/microsoft/azure-devops-go-api team. @xuzhang3 any chance you could poke them again?
@croemmich Sorry, no update 😞
@croemmich, @xuzhang3 any update on this PR, we really need this enhancement to be merged for our use case also. Appreciate your help.