Fix PostgresFlex references in MongoDB Flex (#91)
* Fix PostgresFlex references in MongoDB Flex * Update docs * Re-generate docs
This commit is contained in:
parent
9d11098102
commit
3c6748545d
3 changed files with 11 additions and 11 deletions
|
|
@ -328,10 +328,10 @@ func (r *userResource) ImportState(ctx context.Context, req resource.ImportState
|
|||
resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("instance_id"), idParts[1])...)
|
||||
resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("user_id"), idParts[2])...)
|
||||
core.LogAndAddWarning(ctx, &resp.Diagnostics,
|
||||
"Postgresflex user imported with empty password",
|
||||
"MongoDB Flex user imported with empty password",
|
||||
"The user password is not imported as it is only available upon creation of a new user. The password field will be empty.",
|
||||
)
|
||||
tflog.Info(ctx, "Postgresflex user state imported")
|
||||
tflog.Info(ctx, "MongoDB Flex user state imported")
|
||||
}
|
||||
|
||||
func mapFieldsCreate(userResp *mongodbflex.CreateUserResponse, model *Model) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue