diff --git a/modules/ionos-basic-vm-mariadb/README.md b/modules/ionos-basic-vm-mariadb/README.md new file mode 100644 index 0000000..e056086 --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/README.md @@ -0,0 +1,64 @@ + + +## Providers + +| Name | Version | +|------|---------| +| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +## Modules + +| Name | Source | Version | +|------|--------|---------| +| [basic-vm](#module\_basic-vm) | ../../modules/ionos-basic-vm | n/a | +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [cluster\_lan\_id](#input\_cluster\_lan\_id) | ID of the cluster LAN | `number` | n/a | yes | +| [cluster\_lan\_ip](#input\_cluster\_lan\_ip) | IP of the NFS server on the cluster LAN | `string` | n/a | yes | +| [coordinates](#input\_coordinates) | n/a | `map(any)` | n/a | yes | +| [cores](#input\_cores) | Number of CPU cores per MariaDB instance | `number` | n/a | yes | +| [cpu\_family](#input\_cpu\_family) | Type of CPU to use | `string` | n/a | yes | +| [datacenter\_id](#input\_datacenter\_id) | n/a | `string` | n/a | yes | +| [datacenter\_location](#input\_datacenter\_location) | Geographic location of the datacenter | `string` | n/a | yes | +| [display\_name](#input\_display\_name) | Display name for the MariaDB cluster | `string` | n/a | yes | +| [domain\_without\_top\_level](#input\_domain\_without\_top\_level) | domain without top level | `string` | n/a | yes | +| [fulldomainname](#input\_fulldomainname) | Domain under which the basic VM server will be available | `string` | n/a | yes | +| [image](#input\_image) | Image UUID for the VM | `string` | n/a | yes | +| [instances\_count](#input\_instances\_count) | Number of instances in the MariaDB cluster | `number` | n/a | yes | +| [ip\_pool\_name](#input\_ip\_pool\_name) | Name of the IP pool | `string` | n/a | yes | +| [k8s\_cluster\_id](#input\_k8s\_cluster\_id) | n/a | `string` | n/a | yes | +| [mariadb\_password](#input\_mariadb\_password) | The password for the initial mariadb user | `string` | n/a | yes | +| [mariadb\_username](#input\_mariadb\_username) | The username for the initial mariadb user | `string` | n/a | yes | +| [mariadb\_version](#input\_mariadb\_version) | Version of MariaDB to deploy | `string` | n/a | yes | +| [memory](#input\_memory) | Memory per MariaDB instance in GB | `number` | n/a | yes | +| [second\_volume\_disk\_type](#input\_second\_volume\_disk\_type) | Disk type of the second volume | `string` | n/a | yes | +| [second\_volume\_size](#input\_second\_volume\_size) | Size of the second volume in GB | `number` | n/a | yes | +| [server\_cpu](#input\_server\_cpu) | CPU cores allocated to the VM | `number` | n/a | yes | +| [server\_memory](#input\_server\_memory) | Memory allocated to the VM | `number` | n/a | yes | +| [server\_name](#input\_server\_name) | name of the vm | `string` | n/a | yes | +| [top\_level\_domain](#input\_top\_level\_domain) | Top-level domain mapping for environments | `map(any)` | n/a | yes | +| [volume\_size](#input\_volume\_size) | Size of the primary volume in GB | `number` | n/a | yes | +| [maintenance\_day](#input\_maintenance\_day) | Maintenance day for the MariaDB cluster | `string` | `"Sunday"` | no | +| [maintenance\_hour](#input\_maintenance\_hour) | Hour at which maintenance may start | `number` | `3` | no | +| [ports](#input\_ports) | ports to open in the IONOS firewall provided as objects in a list [{protocol = ???, name = ???, port = ???, source\_ip = ???}], source\_ip is optional. | `list` | `[]` | no | +## Outputs + +| Name | Description | +|------|-------------| +| [cluster\_lan\_id](#output\_cluster\_lan\_id) | n/a | +| [dns\_name](#output\_dns\_name) | The DNS name pointing to your cluster. | +## Requirements + +| Name | Version | +|------|---------| +| [terraform](#requirement\_terraform) | >= 0.13 | +| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +## Resources + +| Name | Type | +|------|------| +| [ionoscloud_lan.private_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | +| [ionoscloud_mariadb_cluster.mariadb_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/mariadb_cluster) | resource | +| [ionoscloud_nic.cluster_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/nic) | resource | + \ No newline at end of file diff --git a/modules/ionos-datacenter/README.md b/modules/ionos-datacenter/README.md index 24e5916..29e9240 100644 --- a/modules/ionos-datacenter/README.md +++ b/modules/ionos-datacenter/README.md @@ -19,7 +19,6 @@ No modules. | [create\_alb\_target\_lan](#input\_create\_alb\_target\_lan) | Specifies whether a private target for the Application Load Balancer shall be created. | `bool` | `false` | no | | [create\_backend\_crossconnect](#input\_create\_backend\_crossconnect) | Specifies whether crossconnect shall be created. Default: false. | `bool` | `false` | no | | [create\_frontend\_crossconnect](#input\_create\_frontend\_crossconnect) | Specifies whether crossconnect shall be created. Default: false. | `bool` | `false` | no | -| [create\_mariadb\_lan](#input\_create\_mariadb\_lan) | Specifies whether a private lan to connect Mariadb shall be created. | `bool` | `false` | no | | [create\_nat\_lan](#input\_create\_nat\_lan) | Specifies whether a private lan to connect a NAT gateway shall be created. | `bool` | `false` | no | | [create\_nfs\_server\_lan](#input\_create\_nfs\_server\_lan) | Specifies whether a private lan to connect an NFS server shall be created. | `bool` | `false` | no | | [create\_nlb\_target\_lan](#input\_create\_nlb\_target\_lan) | Specifies whether a private target for the Network Load Balancer shall be created. | `bool` | `false` | no | @@ -46,14 +45,12 @@ No modules. | [lan\_alb\_target](#output\_lan\_alb\_target) | n/a | | [lan\_backend](#output\_lan\_backend) | n/a | | [lan\_frontend](#output\_lan\_frontend) | n/a | -| [lan\_mariadb](#output\_lan\_mariadb) | n/a | | [lan\_nat](#output\_lan\_nat) | n/a | | [lan\_nfs\_server](#output\_lan\_nfs\_server) | n/a | | [lan\_nlb\_target](#output\_lan\_nlb\_target) | n/a | | [lan\_postgres](#output\_lan\_postgres) | n/a | | [lan\_service](#output\_lan\_service) | n/a | | [lans\_custom](#output\_lans\_custom) | n/a | -| [mariadb\_lan\_id](#output\_mariadb\_lan\_id) | n/a | | [nat\_lan\_id](#output\_nat\_lan\_id) | n/a | | [nfs\_server\_lan\_id](#output\_nfs\_server\_lan\_id) | n/a | | [nlb\_target\_lan\_id](#output\_nlb\_target\_lan\_id) | n/a | @@ -74,7 +71,6 @@ No modules. | [ionoscloud_lan.backend_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | | [ionoscloud_lan.custom_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | | [ionoscloud_lan.frontend_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_lan.mariadb_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | | [ionoscloud_lan.nat_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | | [ionoscloud_lan.nfs_server_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | | [ionoscloud_lan.nlb_target_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource |