feat: enable flavor v2 handling in addition

This commit is contained in:
Marcel S. Henselin 2026-05-07 07:06:22 +02:00
parent 0d408764e5
commit 0d9cde57e4
5 changed files with 276 additions and 21 deletions

View file

@ -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,