|
| 1 | +--- |
| 2 | +# generated by https://github.com/hashicorp/terraform-plugin-docs |
| 3 | +page_title: "stackit_mongodbflex_instance Resource - stackit" |
| 4 | +subcategory: "" |
| 5 | +description: |- |
| 6 | + MongoDB Flex instance resource schema. |
| 7 | +--- |
| 8 | + |
| 9 | +# stackit_mongodbflex_instance (Resource) |
| 10 | + |
| 11 | +MongoDB Flex instance resource schema. |
| 12 | + |
| 13 | +## Example Usage |
| 14 | + |
| 15 | +```terraform |
| 16 | +resource "stackit_mongodbflex_instance" "example" { |
| 17 | + project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 18 | + name = "example-instance" |
| 19 | + acl = ["XXX.XXX.XXX.X/XX", "XX.XXX.XX.X/XX"] |
| 20 | + flavor = { |
| 21 | + cpu = 1 |
| 22 | + ram = 8 |
| 23 | + } |
| 24 | + replicas = 1 |
| 25 | + storage = { |
| 26 | + class = "class" |
| 27 | + size = 10 |
| 28 | + } |
| 29 | + version = "5.0" |
| 30 | + options = { |
| 31 | + type = "Single" |
| 32 | + } |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +<!-- schema generated by tfplugindocs --> |
| 37 | +## Schema |
| 38 | + |
| 39 | +### Required |
| 40 | + |
| 41 | +- `acl` (List of String) The Access Control List (ACL) for the MongoDB Flex instance. |
| 42 | +- `flavor` (Attributes) (see [below for nested schema](#nestedatt--flavor)) |
| 43 | +- `name` (String) Instance name. |
| 44 | +- `options` (Attributes) (see [below for nested schema](#nestedatt--options)) |
| 45 | +- `project_id` (String) STACKIT project ID to which the instance is associated. |
| 46 | +- `replicas` (Number) |
| 47 | +- `storage` (Attributes) (see [below for nested schema](#nestedatt--storage)) |
| 48 | +- `version` (String) |
| 49 | + |
| 50 | +### Read-Only |
| 51 | + |
| 52 | +- `backup_schedule` (String) |
| 53 | +- `id` (String) Terraform's internal resource ID. It is structured as "`project_id`,`instance_id`". |
| 54 | +- `instance_id` (String) ID of the MongoDB Flex instance. |
| 55 | + |
| 56 | +<a id="nestedatt--flavor"></a> |
| 57 | +### Nested Schema for `flavor` |
| 58 | + |
| 59 | +Required: |
| 60 | + |
| 61 | +- `cpu` (Number) |
| 62 | +- `ram` (Number) |
| 63 | + |
| 64 | +Read-Only: |
| 65 | + |
| 66 | +- `description` (String) |
| 67 | +- `id` (String) |
| 68 | + |
| 69 | + |
| 70 | +<a id="nestedatt--options"></a> |
| 71 | +### Nested Schema for `options` |
| 72 | + |
| 73 | +Required: |
| 74 | + |
| 75 | +- `type` (String) |
| 76 | + |
| 77 | + |
| 78 | +<a id="nestedatt--storage"></a> |
| 79 | +### Nested Schema for `storage` |
| 80 | + |
| 81 | +Required: |
| 82 | + |
| 83 | +- `class` (String) |
| 84 | +- `size` (Number) |
0 commit comments