Add examples, generate docs and fix acc tests (#386)
This commit is contained in:
parent
335e1cabb6
commit
04df2f2f89
6 changed files with 57 additions and 7 deletions
|
|
@ -695,7 +695,9 @@ func mapFields(ctx context.Context, resp *sqlserverflex.GetInstanceResponse, mod
|
|||
edition := options.Edition
|
||||
editionValue, ok := (*instance.Options)["edition"]
|
||||
if ok {
|
||||
edition = types.StringValue(editionValue)
|
||||
// API returns edition in uppercase but validates if it is lowercase
|
||||
// This is a workaround that should be removed when the API is fixed
|
||||
edition = types.StringValue(strings.ToLower(editionValue))
|
||||
}
|
||||
|
||||
optionsValues = map[string]attr.Value{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue