Onboard SQLServer Flex user resource (#403)
* Onboard SQLServer Flex user resource * change roles * fix unit tests * make database field optional // adapt test and documentation * add sleep time to instance creation * fix service name in logs and descriptions * extend username plan modifiers * update docs * remove database field * remove database // make roles optional * update docs
This commit is contained in:
parent
50d74e6695
commit
932fff6223
11 changed files with 1343 additions and 2 deletions
|
|
@ -397,6 +397,11 @@ func (r *instanceResource) Create(ctx context.Context, req resource.CreateReques
|
|||
if resp.Diagnostics.HasError() {
|
||||
return
|
||||
}
|
||||
|
||||
// After the instance creation, database might not be ready to accept connections immediately.
|
||||
// That is why we add a sleep
|
||||
time.Sleep(120 * time.Second)
|
||||
|
||||
tflog.Info(ctx, "SQLServer Flex instance created")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue