Skip to content

Specifying a SID value for SQL login creation #457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
acl-oss opened this issue Aug 31, 2023 · 0 comments
Open

Specifying a SID value for SQL login creation #457

acl-oss opened this issue Aug 31, 2023 · 0 comments

Comments

@acl-oss
Copy link

acl-oss commented Aug 31, 2023

Use Case

Having the ability to specify a SID value when creating a login of type SQL_LOGIN, as this will allow us to ensure that SIDs match across all servers for logins of this type. This is required when cloning databases between environments for the permissions to be reflected

Describe the Solution You Would Like

A parameter for the sqlserver::login resource that allows you to specify the SID value directly

Describe Alternatives You've Considered

We are looking at conditionally creating anything of type SQL_LOGIN via a sqlserver_tsql resource and string interpolation, only using sqlserver::login for WINDOWS_LOGIN entries. This should work, but is pretty suboptimal!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants