Skip to content

Commit

Permalink
Introduce another version we support (#251)
Browse files Browse the repository at this point in the history
* Introduce another version we support

* Automated docs update

---------

Co-authored-by: Robert Hoppe <robert.hoppe@mail.schwarz>
Co-authored-by: do87 <do87@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 1, 2024
1 parent 339bcdc commit 82ee400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/mongodb_flex_instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion stackit/internal/resources/mongodb-flex/instance/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 82ee400

Please sign in to comment.