betr-io / terraform-provider-mssql

Terraform provider for Microsoft SQL Server
https://registry.terraform.io/providers/betr-io/mssql/latest
MIT License
35 stars 28 forks source link

feat(azure-login): Add optional object_id attribute to mssql_user #1

Closed smag-bmesseca closed 3 years ago

smag-bmesseca commented 3 years ago

This code is a workaround based on : https://github.com/MicrosoftDocs/sql-docs/issues/2323#issuecomment-652907219

When it is not possible to give AD role : Directory Readers to the Sql Server Identity or an AD Group, we can't use external provider.

While waiting for new Sql Server feature : https://github.com/MicrosoftDocs/sql-docs/issues/2323#issuecomment-791718677, here is a feature to be able to use external provider