You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# module.sqlserver_role.mssql_user.user["master"] will be created
+ resource "mssql_user""user" {
+ authentication_type = (known after apply)
+ database = "master"
+ default_schema = "dbo"
+ id = (known after apply)
+ principal_id = (known after apply)
+ roles = [
+ "db_datawriter",
+ "db_datareader",
]
+ username = "testuser"
+ server {
+ host = "REDACTED.us-east-1.rds.amazonaws.com"
+ port = "1433"
+ login {
+ password = (sensitive value)
+ username = "rdsuser"
}
}
}
Error:
2021/04/25 22:53:36 [DEBUG] module.sqlserver_role.mssql_user.user["master"]: apply errored, but we're indicating that via the Error pointer rather than returning it: unable to create user [master].[testuser]: mssql: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.2021/04/25 22:53:36 [ERROR] eval: *terraform.EvalApplyPost, err: unable to create user [master].[testuser]: mssql: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.2021/04/25 22:53:36 [ERROR] eval: *terraform.EvalSequence, err: unable to create user [master].[testuser]: mssql: Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.
The text was updated successfully, but these errors were encountered:
2014 doesn't support [String_Split](https://github.com/betr-io/terraform-provider-mssql/blob/master/sql/user.go#L124) and I did not want to raise the compatibility level
This provider doesn't offer a Database resource (i.e. create database)
I am running into issues creating a
mssql_user
. I had no issues with creating themssql_login
.Resource
Plan output
Error:
The text was updated successfully, but these errors were encountered: