diff --git a/docs/resources/mongodb_flex_instance.md b/docs/resources/mongodb_flex_instance.md index adad9473..17fdadf6 100644 --- a/docs/resources/mongodb_flex_instance.md +++ b/docs/resources/mongodb_flex_instance.md @@ -49,7 +49,7 @@ resource "stackit_mongodb_flex_instance" "example" { - `storage` (Attributes) A single `storage` block as defined below. (see [below for nested schema](#nestedatt--storage)) - `timeouts` (Attributes) (see [below for nested schema](#nestedatt--timeouts)) - `type` (String) The service type. Available options: `Single`, `Replica`, `Sharded`. Changing this value requires the resource to be recreated. -- `version` (String) MongoDB version. Version `5.0` and `6.0` are supported. +- `version` (String) MongoDB version. Version `5.0`, `6.0`, `7.0` are supported. ### Read-Only diff --git a/stackit/internal/resources/mongodb-flex/instance/schema.go b/stackit/internal/resources/mongodb-flex/instance/schema.go index 644ec9e0..f0e2a7ca 100644 --- a/stackit/internal/resources/mongodb-flex/instance/schema.go +++ b/stackit/internal/resources/mongodb-flex/instance/schema.go @@ -87,7 +87,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp Default: stringdefault.StaticString(DefaultType), }, "version": schema.StringAttribute{ - Description: "MongoDB version. Version `5.0` and `6.0` are supported. ", + Description: "MongoDB version. Version `5.0`, `6.0`, `7.0` are supported. ", Optional: true, Computed: true, PlanModifiers: []planmodifier.String{