feat: enable flavor v2 handling in addition
This commit is contained in:
parent
0d408764e5
commit
0d9cde57e4
5 changed files with 276 additions and 21 deletions
|
|
@ -60,14 +60,6 @@ type flavorModel struct {
|
|||
RAM types.Int64 `tfsdk:"ram"`
|
||||
}
|
||||
|
||||
//// Types corresponding to flavorModel
|
||||
//var flavorTypes = map[string]attr.Type{
|
||||
// "id": basetypes.StringType{},
|
||||
// "description": basetypes.StringType{},
|
||||
// "cpu": basetypes.Int64Type{},
|
||||
// "ram": basetypes.Int64Type{},
|
||||
//}
|
||||
|
||||
func (r *instanceResource) ValidateConfig(
|
||||
ctx context.Context,
|
||||
req resource.ValidateConfigRequest,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue