{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/16","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/16/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/16/events","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/16","id":235633442,"number":16,"title":"Feature Request: managing AzureAD users & RBAC roles","user":{"login":"hashibot","id":26720499,"avatar_url":"https://avatars1.githubusercontent.com/u/26720499?v=4","gravatar_id":"","url":"https://api.github.com/users/hashibot","html_url":"https://github.com/hashibot","followers_url":"https://api.github.com/users/hashibot/followers","following_url":"https://api.github.com/users/hashibot/following{/other_user}","gists_url":"https://api.github.com/users/hashibot/gists{/gist_id}","starred_url":"https://api.github.com/users/hashibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashibot/subscriptions","organizations_url":"https://api.github.com/users/hashibot/orgs","repos_url":"https://api.github.com/users/hashibot/repos","events_url":"https://api.github.com/users/hashibot/events{/privacy}","received_events_url":"https://api.github.com/users/hashibot/received_events","type":"User","site_admin":false},"labels":[{"id":625925838,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/new-resource","name":"new-resource","color":"d4c5f9","default":false},{"id":845485548,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/authentication","name":"service/authentication","color":"85eab6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/12","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/milestone/12","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/12/labels","id":3242148,"number":12,"title":"Soon","description":"","creator":{"login":"tombuildsstuff","id":666005,"avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":4,"state":"open","created_at":"2018-04-04T13:51:19Z","updated_at":"2018-04-20T21:26:11Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2017-06-13T17:43:42Z","updated_at":"2018-04-20T21:26:19Z","closed_at":null,"author_association":"NONE","body":"_This issue was originally opened by @colemickens as hashicorp/terraform#8094. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._\r\n\r\n<hr>\r\n\r\nFeature request: Support creating AAD users and assigning RBAC roles.\n\nScenario: I want to automate creating Kubernetes clusters for Azure. We're doing this currently with Terraform + Ansible. It currently requires the user to provision a service account for the cluster manually and then feed those credentials into a config file that is used in a template_file data resource and then ultimately pushed into the VM and consumed by Ansible.\n\nIf I could have an `azurerm_aad_serviceprincipal` then I could automatically provision new service accounts, without needing to do it out of band. (Currently I'm considering using a local-exec provisioner to run `azure-cli` to create the SP and assign it permissions to the resource group that Terraform is deploying/creating).\n\nDepends on: https://github.com/Azure/azure-sdk-for-go/issues/378\n"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/comments/383227130","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/16#issuecomment-383227130","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/16","id":383227130,"user":{"login":"achandmsft","id":14188700,"avatar_url":"https://avatars0.githubusercontent.com/u/14188700?v=4","gravatar_id":"","url":"https://api.github.com/users/achandmsft","html_url":"https://github.com/achandmsft","followers_url":"https://api.github.com/users/achandmsft/followers","following_url":"https://api.github.com/users/achandmsft/following{/other_user}","gists_url":"https://api.github.com/users/achandmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/achandmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achandmsft/subscriptions","organizations_url":"https://api.github.com/users/achandmsft/orgs","repos_url":"https://api.github.com/users/achandmsft/repos","events_url":"https://api.github.com/users/achandmsft/events{/privacy}","received_events_url":"https://api.github.com/users/achandmsft/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T21:26:18Z","updated_at":"2018-04-20T21:26:18Z","author_association":"COLLABORATOR","body":"@tombuildsstuff ping on status of this one?"}}
{"actor":{"display_login":"achandmsft"}}