1.0.1
This commit is contained in:
@@ -113,7 +113,7 @@ func MakeSchemaResourceVINS() map[string]schema.Attribute {
|
||||
Required: true,
|
||||
Description: "type of the reservation",
|
||||
Validators: []validator.String{
|
||||
stringvalidator.OneOfCaseInsensitive("DHCP", "VIP", "EXCLUDE"), // case is ignored
|
||||
stringvalidator.OneOfCaseInsensitive("DHCP", "VIP", "EXCLUDED"), // case is ignored
|
||||
},
|
||||
},
|
||||
"ip_addr": schema.StringAttribute{
|
||||
|
||||
@@ -17,7 +17,7 @@ func VINSExtNetListDataSourceCheckPresence(ctx context.Context, vinsId uint64, c
|
||||
|
||||
extnetList, err := c.CloudAPI().VINS().ExtNetList(ctx, vins.ExtNetListRequest{VINSID: vinsId})
|
||||
if err != nil {
|
||||
diags.AddError(fmt.Sprintf("Cannot get info about ext net list for vins with ID %v", vinsId), err.Error())
|
||||
diags.AddError(fmt.Sprintf("Cannot get info about extnet list for vins with ID %v", vinsId), err.Error())
|
||||
return nil, diags
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ func VINSListDeletedDataSourceCheckPresence(ctx context.Context, plan *models.Da
|
||||
tflog.Info(ctx, "VINSListDeletedDataSourceCheckPresence: before call CloudAPI().VINS().ListDeleted", map[string]any{"req": listReq})
|
||||
list, err := c.CloudAPI().VINS().ListDeleted(ctx, listReq)
|
||||
if err != nil {
|
||||
diags.AddError("Cannot get info about vins list", err.Error())
|
||||
diags.AddError("Cannot get info about vins deleted list", err.Error())
|
||||
return nil, diags
|
||||
}
|
||||
tflog.Info(ctx, "VINSListDeletedDataSourceCheckPresence: successfull response from CloudAPI().VINS().ListDeleted")
|
||||
|
||||
Reference in New Issue
Block a user