diff --git a/modules/ionos-application-loadbalancer/README.md b/modules/ionos-application-loadbalancer/README.md index f6d89a2..bd62677 100644 --- a/modules/ionos-application-loadbalancer/README.md +++ b/modules/ionos-application-loadbalancer/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules | Name | Source | Version | @@ -37,14 +37,14 @@ | Name | Version | |------|---------| -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_application_loadbalancer.alb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/application_loadbalancer) | resource | -| [ionoscloud_application_loadbalancer_forwardingrule.forward_k8s](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/application_loadbalancer_forwardingrule) | resource | -| [ionoscloud_ipblock.alb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | -| [ionoscloud_lan.alb_listener_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_target_group.k8s_node_pools](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/target_group) | resource | +| [ionoscloud_application_loadbalancer.alb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/application_loadbalancer) | resource | +| [ionoscloud_application_loadbalancer_forwardingrule.forward_k8s](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/application_loadbalancer_forwardingrule) | resource | +| [ionoscloud_ipblock.alb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | +| [ionoscloud_lan.alb_listener_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_target_group.k8s_node_pools](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/target_group) | resource | \ No newline at end of file diff --git a/modules/ionos-application-loadbalancer/versions.tf b/modules/ionos-application-loadbalancer/versions.tf index 4f95fb0..b247aca 100644 --- a/modules/ionos-application-loadbalancer/versions.tf +++ b/modules/ionos-application-loadbalancer/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } } diff --git a/modules/ionos-backend-haproxy/README.md b/modules/ionos-backend-haproxy/README.md index eda0a21..0fa9475 100644 --- a/modules/ionos-backend-haproxy/README.md +++ b/modules/ionos-backend-haproxy/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | | [opentelekomcloud](#provider\_opentelekomcloud) | n/a | ## Modules @@ -43,19 +43,19 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_firewall.firewallping](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/firewall) | resource | -| [ionoscloud_firewall.firewallssh](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/firewall) | resource | -| [ionoscloud_lan.cluster_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_lan.crossconnect_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_lan.public_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_nic.cluster_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/nic) | resource | -| [ionoscloud_nic.crossconnect_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/nic) | resource | -| [ionoscloud_server.server](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/server) | resource | -| [ionoscloud_private_crossconnect.crossconnect](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/private_crossconnect) | data source | +| [ionoscloud_firewall.firewallping](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/firewall) | resource | +| [ionoscloud_firewall.firewallssh](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/firewall) | resource | +| [ionoscloud_lan.cluster_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.crossconnect_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.public_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_nic.cluster_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/nic) | resource | +| [ionoscloud_nic.crossconnect_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/nic) | resource | +| [ionoscloud_server.server](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/server) | resource | +| [ionoscloud_private_crossconnect.crossconnect](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/private_crossconnect) | data source | | [opentelekomcloud_dns_zone_v2.dns_zone](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/data-sources/dns_zone_v2) | data source | \ No newline at end of file diff --git a/modules/ionos-backend-haproxy/versions.tf b/modules/ionos-backend-haproxy/versions.tf index 5040039..38a887c 100644 --- a/modules/ionos-backend-haproxy/versions.tf +++ b/modules/ionos-backend-haproxy/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } opentelekomcloud = { source = "opentelekomcloud/opentelekomcloud" diff --git a/modules/ionos-basic-vm-mariadb/README.md b/modules/ionos-basic-vm-mariadb/README.md new file mode 100644 index 0000000..cdd1d5c --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/README.md @@ -0,0 +1,70 @@ + + +## Providers + +| Name | Version | +|------|---------| +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | +## Modules + +| Name | Source | Version | +|------|--------|---------| +| [basic-vm](#module\_basic-vm) | ../../modules/ionos-basic-vm | n/a | +## Inputs + +| Name | Description | Type | Default | Required | +|------|-------------|------|---------|:--------:| +| [basic\_vm\_second\_volume\_disk\_type](#input\_basic\_vm\_second\_volume\_disk\_type) | Disk type of the second volume | `string` | n/a | yes | +| [basic\_vm\_second\_volume\_size](#input\_basic\_vm\_second\_volume\_size) | Size of the second volume in GB | `number` | n/a | yes | +| [basic\_vm\_server\_cpu](#input\_basic\_vm\_server\_cpu) | CPU cores allocated to the VM | `number` | n/a | yes | +| [basic\_vm\_server\_memory](#input\_basic\_vm\_server\_memory) | Memory allocated to the VM | `number` | n/a | yes | +| [basic\_vm\_volume\_size](#input\_basic\_vm\_volume\_size) | Size of the primary volume in GB | `number` | n/a | yes | +| [coordinates](#input\_coordinates) | n/a | `map(any)` | 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 | +| [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 | +| [ip\_pool\_name](#input\_ip\_pool\_name) | Name of the IP pool | `string` | n/a | yes | +| [mariadb\_cores](#input\_mariadb\_cores) | Number of CPU cores per MariaDB instance | `number` | n/a | yes | +| [mariadb\_display\_name](#input\_mariadb\_display\_name) | Display name for the MariaDB cluster | `string` | n/a | yes | +| [mariadb\_instances\_count](#input\_mariadb\_instances\_count) | Number of instances in the MariaDB cluster | `number` | n/a | yes | +| [mariadb\_memory](#input\_mariadb\_memory) | Memory per MariaDB instance in GB | `number` | n/a | yes | +| [mariadb\_password](#input\_mariadb\_password) | The password for the initial mariadb user | `string` | n/a | yes | +| [mariadb\_storage\_size](#input\_mariadb\_storage\_size) | The amount of storage per instance in gigabytes (GB) | `number` | 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 | +| [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 | +| [create\_lan](#input\_create\_lan) | If true a LAN will be created, if false a LAN ID must be provided | `bool` | `true` | no | +| [initial\_public\_key](#input\_initial\_public\_key) | The public key of the initial user created via the cloud init script. | `string` | `""` | no | +| [initial\_uid](#input\_initial\_uid) | The uid of the initial user created via the cloud init script. | `string` | `""` | no | +| [initial\_user](#input\_initial\_user) | The initial user to be created via the cloud init script. | `string` | `""` | no | +| [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 | +|------|-------------| +| [basic\_vm\_lan\_ip](#output\_basic\_vm\_lan\_ip) | The IP address assigned to the basic VM NIC | +| [basic\_vm\_server\_dns](#output\_basic\_vm\_server\_dns) | DNS record associated with the basic VM server | +| [basic\_vm\_server\_public\_ip](#output\_basic\_vm\_server\_public\_ip) | the public IP address assigned to the basic VM server | +| [mariadb\_ip](#output\_mariadb\_ip) | IP address of the MariaDB cluster | +| [mariadb\_ip\_cidr](#output\_mariadb\_ip\_cidr) | The CIDR block for the database IP address | +| [private\_lan\_id](#output\_private\_lan\_id) | The ID of the private LAN created for the basic VM and MariaDB cluster | +## Requirements + +| Name | Version | +|------|---------| +| [terraform](#requirement\_terraform) | >= 0.13 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | +## Resources + +| Name | Type | +|------|------| +| [ionoscloud_lan.basic_vm_mariadb_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_mariadb_cluster.mariadb_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/mariadb_cluster) | resource | +| [ionoscloud_nic.privacyidea_vm_nic](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/nic) | resource | + \ No newline at end of file diff --git a/modules/ionos-basic-vm-mariadb/locals.tf b/modules/ionos-basic-vm-mariadb/locals.tf new file mode 100644 index 0000000..567b224 --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/locals.tf @@ -0,0 +1,5 @@ +locals { + prefix = format("%s/%s", ionoscloud_nic.privacyidea_vm_nic.ips[0], "24") + database_ip = cidrhost(local.prefix, 1) + database_ip_cidr = format("%s/%s", local.database_ip, "24") +} \ No newline at end of file diff --git a/modules/ionos-basic-vm-mariadb/main.tf b/modules/ionos-basic-vm-mariadb/main.tf new file mode 100644 index 0000000..abc5ce0 --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/main.tf @@ -0,0 +1,70 @@ +# Create a private LAN +resource "ionoscloud_lan" "basic_vm_mariadb_lan" { + datacenter_id = var.datacenter_id + public = false + name = "${var.server_name}-privacyidea-mariadb-lan" +} + +# Create the basic VM +module "basic-vm" { + source = "../../modules/ionos-basic-vm" + coordinates = var.coordinates + fulldomainname = var.fulldomainname + datacenter = var.datacenter_id + datacenter_location = var.datacenter_location + cpu_family = var.cpu_family + ip_pool_name = var.ip_pool_name + basic_vm_server_memory = var.basic_vm_server_memory + basic_vm_server_cpu = var.basic_vm_server_cpu + basic_vm_volume_size = var.basic_vm_volume_size + basic_vm_second_volume_size = var.basic_vm_second_volume_size + basic_vm_second_volume_disk_type = var.basic_vm_second_volume_disk_type + domain_without_top_level = var.domain_without_top_level + top_level_domain = var.top_level_domain + image = var.image + server_name = var.server_name + ports = var.ports + create_lan = var.create_lan + +# Ensure the private LAN is created before the basic VM + depends_on = [ionoscloud_lan.basic_vm_mariadb_lan] + + initial_user = var.initial_user + initial_uid = var.initial_uid + initial_public_key = var.initial_public_key +} + +# Create a NIC for the basic VM and connect it to the private LAN +resource "ionoscloud_nic" "privacyidea_vm_nic" { + datacenter_id = var.datacenter_id + server_id = module.basic-vm.basic_vm_server_id + dhcp = true + lan = ionoscloud_lan.basic_vm_mariadb_lan.id + firewall_active = true +} + +# Create the MariaDB cluster +resource "ionoscloud_mariadb_cluster" "mariadb_cluster" { + mariadb_version = var.mariadb_version + instances = var.mariadb_instances_count + cores = var.mariadb_cores + ram = var.mariadb_memory + storage_size = var.mariadb_storage_size + display_name = var.mariadb_display_name + + connections { + datacenter_id = var.datacenter_id + lan_id = ionoscloud_lan.basic_vm_mariadb_lan.id + cidr = local.database_ip_cidr + } + + maintenance_window { + day_of_the_week = var.maintenance_day + time = format("%02d:00:00", var.maintenance_hour) + } + + credentials { + username = var.mariadb_username + password = var.mariadb_password + } +} \ No newline at end of file diff --git a/modules/ionos-basic-vm-mariadb/output.tf b/modules/ionos-basic-vm-mariadb/output.tf new file mode 100644 index 0000000..f852b2a --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/output.tf @@ -0,0 +1,29 @@ +output "basic_vm_lan_ip" { + description = "The IP address assigned to the basic VM NIC" + value = ionoscloud_nic.privacyidea_vm_nic.ips[0] +} + +output "mariadb_ip_cidr" { + description = "The CIDR block for the database IP address" + value = local.database_ip_cidr +} + +output "mariadb_ip" { + description = "IP address of the MariaDB cluster" + value = local.database_ip +} + +output "basic_vm_server_dns" { + description = "DNS record associated with the basic VM server" + value = module.basic-vm.basic_vm_server_dns +} + +output "basic_vm_server_public_ip" { + description= "the public IP address assigned to the basic VM server" + value = module.basic-vm.basic_vm_server_public_ip +} + +output "private_lan_id" { + description = "The ID of the private LAN created for the basic VM and MariaDB cluster" + value = ionoscloud_lan.basic_vm_mariadb_lan.id +} \ No newline at end of file diff --git a/modules/ionos-basic-vm-mariadb/variables.tf b/modules/ionos-basic-vm-mariadb/variables.tf new file mode 100644 index 0000000..2909bb1 --- /dev/null +++ b/modules/ionos-basic-vm-mariadb/variables.tf @@ -0,0 +1,153 @@ +variable "datacenter_id" { + type = string +} + +variable "coordinates" { + type = map(any) +} + +variable "domain_without_top_level" { + type = string + description = "domain without top level" +} + +variable "top_level_domain" { + type = map(any) + description = "Top-level domain mapping for environments" +} + +variable "ports" { + type = list + description = "ports to open in the IONOS firewall provided as objects in a list [{protocol = ???, name = ???, port = ???, source_ip = ???}], source_ip is optional." + default = [] +} + +variable "datacenter_location" { + type = string + description = "Geographic location of the datacenter" +} + +variable "fulldomainname" { + type = string + description = "Domain under which the basic VM server will be available" +} + +variable "ip_pool_name" { + type = string + description = "Name of the IP pool" +} + +variable "image" { + type = string + description = "Image UUID for the VM" +} + +variable "basic_vm_server_memory" { + type = number + description = "Memory allocated to the VM" +} + +variable "basic_vm_server_cpu" { + type = number + description = "CPU cores allocated to the VM" +} + +variable "cpu_family" { + type = string + description = "Type of CPU to use" +} + +variable "basic_vm_volume_size" { + type = number + description = "Size of the primary volume in GB" +} + +variable "basic_vm_second_volume_size" { + type = number + description = "Size of the second volume in GB" +} + +variable "basic_vm_second_volume_disk_type" { + type = string + description = "Disk type of the second volume" +} + +variable "server_name" { + type = string + description = "name of the vm" +} +variable "mariadb_version" { + type = string + description = "Version of MariaDB to deploy" +} + +variable "mariadb_instances_count" { + type = number + description = "Number of instances in the MariaDB cluster" +} + +variable "mariadb_cores" { + type = number + description = "Number of CPU cores per MariaDB instance" +} + +variable "mariadb_memory" { + type = number + description = "Memory per MariaDB instance in GB" +} + +variable "mariadb_storage_size" { + type = number + description = "The amount of storage per instance in gigabytes (GB)" +} + +variable "mariadb_display_name" { + type = string + description = "Display name for the MariaDB cluster" +} + +variable "maintenance_day" { + type = string + description = "Maintenance day for the MariaDB cluster" + default = "Sunday" +} + +variable "maintenance_hour" { + type = number + description = "Hour at which maintenance may start" + default = 3 +} + +variable "mariadb_username" { + description = "The username for the initial mariadb user" + type = string +} + +variable "mariadb_password" { + description = "The password for the initial mariadb user" + type = string +} + +variable "create_lan" { + type = bool + description = "If true a LAN will be created, if false a LAN ID must be provided" + default = true +} + +variable "initial_user" { + type = string + description = "The initial user to be created via the cloud init script." + default = "" +} + +variable "initial_uid" { + type = string + description = "The uid of the initial user created via the cloud init script." + default = "" +} + +variable "initial_public_key" { + type = string + description = "The public key of the initial user created via the cloud init script." + default = "" +} \ No newline at end of file diff --git a/modules/ionos-mariadb-cluster/versions.tf b/modules/ionos-basic-vm-mariadb/versions.tf similarity index 55% rename from modules/ionos-mariadb-cluster/versions.tf rename to modules/ionos-basic-vm-mariadb/versions.tf index d0372ea..1886b4e 100644 --- a/modules/ionos-mariadb-cluster/versions.tf +++ b/modules/ionos-basic-vm-mariadb/versions.tf @@ -2,8 +2,11 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" + } + opentelekomcloud = { + source = "opentelekomcloud/opentelekomcloud" } } required_version = ">= 0.13" -} +} \ No newline at end of file diff --git a/modules/ionos-basic-vm/README.md b/modules/ionos-basic-vm/README.md index c794667..9415068 100644 --- a/modules/ionos-basic-vm/README.md +++ b/modules/ionos-basic-vm/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | | [opentelekomcloud](#provider\_opentelekomcloud) | n/a | ## Modules @@ -58,19 +58,19 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_firewall.range_rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/firewall) | resource | -| [ionoscloud_firewall.rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/firewall) | resource | -| [ionoscloud_ipblock.public_ip](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | -| [ionoscloud_lan.basic_vm_server_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_server.basic_vm_server](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/server) | resource | -| [ionoscloud_server.basic_vm_server_not_permanent](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/server) | resource | -| [ionoscloud_volume.second_volume](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/volume) | resource | +| [ionoscloud_firewall.range_rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/firewall) | resource | +| [ionoscloud_firewall.rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/firewall) | resource | +| [ionoscloud_ipblock.public_ip](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | +| [ionoscloud_lan.basic_vm_server_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_server.basic_vm_server](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/server) | resource | +| [ionoscloud_server.basic_vm_server_not_permanent](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/server) | resource | +| [ionoscloud_volume.second_volume](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/volume) | resource | | [opentelekomcloud_dns_recordset_v2.a_records](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/dns_recordset_v2) | resource | -| [ionoscloud_datacenter.datacenter](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/datacenter) | data source | +| [ionoscloud_datacenter.datacenter](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/datacenter) | data source | | [opentelekomcloud_dns_zone_v2.dns_zone](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/data-sources/dns_zone_v2) | data source | \ No newline at end of file diff --git a/modules/ionos-basic-vm/locals.tf b/modules/ionos-basic-vm/locals.tf index cbb570d..69391ea 100644 --- a/modules/ionos-basic-vm/locals.tf +++ b/modules/ionos-basic-vm/locals.tf @@ -10,4 +10,4 @@ locals { "initial_public_key" = file(var.initial_public_key) } user_data = base64encode(templatefile("${path.module}/${var.user_data_script}", local.user_data_vars)) -} +} \ No newline at end of file diff --git a/modules/ionos-basic-vm/versions.tf b/modules/ionos-basic-vm/versions.tf index 5040039..38a887c 100644 --- a/modules/ionos-basic-vm/versions.tf +++ b/modules/ionos-basic-vm/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } opentelekomcloud = { source = "opentelekomcloud/opentelekomcloud" diff --git a/modules/ionos-cidr-workaround/README.md b/modules/ionos-cidr-workaround/README.md index 6bcd5ca..b53722b 100644 --- a/modules/ionos-cidr-workaround/README.md +++ b/modules/ionos-cidr-workaround/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules No modules. @@ -26,13 +26,13 @@ No modules. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_k8s_cluster.k8s_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/k8s_cluster) | data source | -| [ionoscloud_k8s_node_pool.k8s_node_pool](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/k8s_node_pool) | data source | -| [ionoscloud_servers.k8s_node](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/servers) | data source | -| [ionoscloud_servers.k8s_nodes](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/data-sources/servers) | data source | +| [ionoscloud_k8s_cluster.k8s_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/k8s_cluster) | data source | +| [ionoscloud_k8s_node_pool.k8s_node_pool](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/k8s_node_pool) | data source | +| [ionoscloud_servers.k8s_node](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/servers) | data source | +| [ionoscloud_servers.k8s_nodes](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/data-sources/servers) | data source | \ No newline at end of file diff --git a/modules/ionos-cidr-workaround/variables.tf b/modules/ionos-cidr-workaround/variables.tf index 92ff1ca..04a4cff 100644 --- a/modules/ionos-cidr-workaround/variables.tf +++ b/modules/ionos-cidr-workaround/variables.tf @@ -6,4 +6,4 @@ variable "k8s_cluster_id" { variable "lan_id" { type = string description = "ID of the LAN whose IP we want to get" -} +} \ No newline at end of file diff --git a/modules/ionos-cidr-workaround/versions.tf b/modules/ionos-cidr-workaround/versions.tf index d0372ea..99a07b9 100644 --- a/modules/ionos-cidr-workaround/versions.tf +++ b/modules/ionos-cidr-workaround/versions.tf @@ -2,8 +2,8 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } required_version = ">= 0.13" -} +} \ No newline at end of file diff --git a/modules/ionos-datacenter/README.md b/modules/ionos-datacenter/README.md index 24e5916..2166724 100644 --- a/modules/ionos-datacenter/README.md +++ b/modules/ionos-datacenter/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules No modules. @@ -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 | @@ -64,28 +61,27 @@ No modules. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_datacenter.datacenter](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/datacenter) | resource | -| [ionoscloud_lan.alb_target_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [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 | -| [ionoscloud_lan.postgres_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_lan.public_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_lan.service_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_private_crossconnect.backend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/private_crossconnect) | resource | -| [ionoscloud_private_crossconnect.frontend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/private_crossconnect) | resource | -| [ionoscloud_private_crossconnect.service_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/private_crossconnect) | resource | -| [ionoscloud_share.backend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/share) | resource | -| [ionoscloud_share.datacenter_permissions](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/share) | resource | -| [ionoscloud_share.frontend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/share) | resource | -| [ionoscloud_share.service_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/share) | resource | +| [ionoscloud_datacenter.datacenter](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/datacenter) | resource | +| [ionoscloud_lan.alb_target_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.backend_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.custom_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.frontend_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.nat_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.nfs_server_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.nlb_target_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.postgres_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.public_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_lan.service_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_private_crossconnect.backend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/private_crossconnect) | resource | +| [ionoscloud_private_crossconnect.frontend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/private_crossconnect) | resource | +| [ionoscloud_private_crossconnect.service_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/private_crossconnect) | resource | +| [ionoscloud_share.backend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/share) | resource | +| [ionoscloud_share.datacenter_permissions](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/share) | resource | +| [ionoscloud_share.frontend_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/share) | resource | +| [ionoscloud_share.service_cc](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/share) | resource | \ No newline at end of file diff --git a/modules/ionos-datacenter/locals.tf b/modules/ionos-datacenter/locals.tf index 1e77e64..c58163b 100644 --- a/modules/ionos-datacenter/locals.tf +++ b/modules/ionos-datacenter/locals.tf @@ -15,7 +15,6 @@ locals { service_crossconnect_shared_group_ids = (length(var.crossconnect_shared_group_ids) > 0 && local.create_frontend_crossconnect == true) ? var.crossconnect_shared_group_ids : [] routes_map = var.routes_map create_postgres_lan = var.create_postgres_lan - create_mariadb_lan = var.create_mariadb_lan custom_lans_to_create = var.custom_lans_to_create # this saves the service/backend/frontend lans as an object in a list # Example of an object: @@ -35,7 +34,6 @@ locals { lan_frontend = flatten([ for id in ionoscloud_lan.frontend_lan.*.id: { id = id, routes_list = lookup(local.routes_map, id , [{}]) }]) lan_nfs_server = flatten([ for id in ionoscloud_lan.nfs_server_lan.*.id: { id = id, routes_list = [{}] }]) lan_postgres = flatten([ for id in ionoscloud_lan.postgres_lan.*.id: { id = id, routes_list = [{}] }]) - lan_mariadb = flatten([ for id in ionoscloud_lan.mariadb_lan.*.id: { id = id, routes_list = [{}] }]) lan_alb_target = flatten([ for id in ionoscloud_lan.alb_target_lan.*.id: { id = id, routes_list =[{}] }]) lan_nlb_target = flatten([ for id in ionoscloud_lan.nlb_target_lan.*.id: { id = id, routes_list =[{}] }]) lan_nat = flatten([ for id in ionoscloud_lan.nat_lan.*.id: { id = id, routes_list = [{}] }]) diff --git a/modules/ionos-datacenter/main.tf b/modules/ionos-datacenter/main.tf index 8d78f00..78cc1e2 100644 --- a/modules/ionos-datacenter/main.tf +++ b/modules/ionos-datacenter/main.tf @@ -98,13 +98,6 @@ resource "ionoscloud_lan" "postgres_lan" { public = false } -resource "ionoscloud_lan" "mariadb_lan" { - count = local.create_mariadb_lan ? 1 : 0 - name = "${var.datacenter_name}-mariadb-lan" - datacenter_id = ionoscloud_datacenter.datacenter.id - public = false -} - resource "ionoscloud_lan" "alb_target_lan" { count = local.create_alb_target_lan ? 1 : 0 name = "${var.datacenter_name}-alb-target-lan" diff --git a/modules/ionos-datacenter/output.tf b/modules/ionos-datacenter/output.tf index e416230..41d4836 100644 --- a/modules/ionos-datacenter/output.tf +++ b/modules/ionos-datacenter/output.tf @@ -55,14 +55,6 @@ output "lan_postgres" { value = local.lan_postgres } -output "mariadb_lan_id" { - value = join("", ionoscloud_lan.mariadb_lan.*.id) -} - -output "lan_mariadb" { - value = local.lan_mariadb -} - output "alb_target_lan_id" { value = join("", ionoscloud_lan.alb_target_lan.*.id) } diff --git a/modules/ionos-datacenter/variables.tf b/modules/ionos-datacenter/variables.tf index 095e03c..a99c11b 100644 --- a/modules/ionos-datacenter/variables.tf +++ b/modules/ionos-datacenter/variables.tf @@ -84,11 +84,6 @@ variable "create_postgres_lan" { type = bool default = false } -variable "create_mariadb_lan" { - description = "Specifies whether a private lan to connect Mariadb shall be created." - type = bool - default = false -} variable "create_alb_target_lan" { type = bool @@ -112,4 +107,4 @@ variable "custom_lans_to_create" { description = "Map of for private LANs to be created. The key is used for the output. The value is used for the name: -" type = map(string) default = {} -} +} \ No newline at end of file diff --git a/modules/ionos-datacenter/versions.tf b/modules/ionos-datacenter/versions.tf index d0372ea..99a07b9 100644 --- a/modules/ionos-datacenter/versions.tf +++ b/modules/ionos-datacenter/versions.tf @@ -2,8 +2,8 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } required_version = ">= 0.13" -} +} \ No newline at end of file diff --git a/modules/ionos-k8s-cluster/README.md b/modules/ionos-k8s-cluster/README.md index 518fd9a..09172c5 100644 --- a/modules/ionos-k8s-cluster/README.md +++ b/modules/ionos-k8s-cluster/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules No modules. @@ -50,13 +50,13 @@ No modules. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_ipblock.ippools](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | -| [ionoscloud_k8s_cluster.cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/k8s_cluster) | resource | -| [ionoscloud_k8s_node_pool.nodepool_legacy](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/k8s_node_pool) | resource | -| [ionoscloud_k8s_node_pool.nodepool_scaling](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/k8s_node_pool) | resource | +| [ionoscloud_ipblock.ippools](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | +| [ionoscloud_k8s_cluster.cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/k8s_cluster) | resource | +| [ionoscloud_k8s_node_pool.nodepool_legacy](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/k8s_node_pool) | resource | +| [ionoscloud_k8s_node_pool.nodepool_scaling](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/k8s_node_pool) | resource | \ No newline at end of file diff --git a/modules/ionos-k8s-cluster/version.tf b/modules/ionos-k8s-cluster/version.tf index d0372ea..f06a861 100644 --- a/modules/ionos-k8s-cluster/version.tf +++ b/modules/ionos-k8s-cluster/version.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } required_version = ">= 0.13" diff --git a/modules/ionos-k8s-natgateway/README.md b/modules/ionos-k8s-natgateway/README.md index bb15daa..0e69f8d 100644 --- a/modules/ionos-k8s-natgateway/README.md +++ b/modules/ionos-k8s-natgateway/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules | Name | Source | Version | @@ -36,12 +36,12 @@ | Name | Version | |------|---------| -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_ipblock.natgateway](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | -| [ionoscloud_natgateway.natgateway](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/natgateway) | resource | -| [ionoscloud_natgateway_rule.natgateway_rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/natgateway_rule) | resource | +| [ionoscloud_ipblock.natgateway](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | +| [ionoscloud_natgateway.natgateway](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/natgateway) | resource | +| [ionoscloud_natgateway_rule.natgateway_rule](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/natgateway_rule) | resource | \ No newline at end of file diff --git a/modules/ionos-k8s-natgateway/versions.tf b/modules/ionos-k8s-natgateway/versions.tf index 4f95fb0..b247aca 100644 --- a/modules/ionos-k8s-natgateway/versions.tf +++ b/modules/ionos-k8s-natgateway/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } } diff --git a/modules/ionos-loadbalancer-ip/README.md b/modules/ionos-loadbalancer-ip/README.md index 830049c..6922deb 100644 --- a/modules/ionos-loadbalancer-ip/README.md +++ b/modules/ionos-loadbalancer-ip/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | | [opentelekomcloud](#provider\_opentelekomcloud) | n/a | | [time](#provider\_time) | n/a | ## Modules @@ -32,12 +32,12 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_ipblock.crip](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | +| [ionoscloud_ipblock.crip](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | | [opentelekomcloud_dns_recordset_v2.dnsentry](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/resources/dns_recordset_v2) | resource | | [time_sleep.crip_destroy_wait](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource | | [opentelekomcloud_dns_zone_v2.dns_zone](https://registry.terraform.io/providers/opentelekomcloud/opentelekomcloud/latest/docs/data-sources/dns_zone_v2) | data source | diff --git a/modules/ionos-loadbalancer-ip/versions.tf b/modules/ionos-loadbalancer-ip/versions.tf index c304b43..5aa7638 100644 --- a/modules/ionos-loadbalancer-ip/versions.tf +++ b/modules/ionos-loadbalancer-ip/versions.tf @@ -7,7 +7,7 @@ terraform { } ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } } diff --git a/modules/ionos-mariadb-cluster/README.md b/modules/ionos-mariadb-cluster/README.md deleted file mode 100644 index f647e4b..0000000 --- a/modules/ionos-mariadb-cluster/README.md +++ /dev/null @@ -1,48 +0,0 @@ - - -## Providers - -| Name | Version | -|------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | -## Modules - -| Name | Source | Version | -|------|--------|---------| -| [cidr\_workaround](#module\_cidr\_workaround) | ../../modules/ionos-cidr-workaround | n/a | -## Inputs - -| Name | Description | Type | Default | Required | -|------|-------------|------|---------|:--------:| -| [cores](#input\_cores) | The number of CPU cores per instance | `number` | n/a | yes | -| [datacenter\_id](#input\_datacenter\_id) | The datacenter to connect your cluster to. | `string` | n/a | yes | -| [display\_name](#input\_display\_name) | The friendly name of your cluster | `string` | n/a | yes | -| [instances\_count](#input\_instances\_count) | The total number of instances in the cluster (one primary and n-1 secondary) | `number` | n/a | yes | -| [k8s\_cluster\_id](#input\_k8s\_cluster\_id) | n/a | `string` | n/a | yes | -| [lan\_id](#input\_lan\_id) | The LAN to connect your cluster to. | `string` | n/a | yes | -| [mariadb\_version](#input\_mariadb\_version) | The MariaDB version of your cluster | `string` | n/a | yes | -| [memory](#input\_memory) | The amount of memory per instance in gigabytes (GB) | `number` | n/a | yes | -| [password](#input\_password) | The password for the initial MariaDB user | `string` | n/a | yes | -| [username](#input\_username) | The username for the initial MariaDB user | `string` | n/a | yes | -| [volume\_size](#input\_volume\_size) | The amount of storage per instance in gigabytes (GB) | `number` | n/a | yes | -| [ip\_block](#input\_ip\_block) | The number to be set in the last ip block. (Default: 101) | `number` | `101` | no | -| [maintenance\_day](#input\_maintenance\_day) | The day of the week for the 4 hour-long maintenance window. (Default: Sunday) | `string` | `"Sunday"` | no | -| [maintenance\_hour](#input\_maintenance\_hour) | The time of the day when the 4 hour-long maintenance window may start. (Default: 3) | `number` | `3` | no | -| [subnet\_mask](#input\_subnet\_mask) | The subnet mask to use for allowing connections from the LAN. (Default: 16) | `string` | `16` | no | -## Outputs - -| Name | Description | -|------|-------------| -| [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_mariadb_cluster.mariadb_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/mariadb_cluster) | resource | - \ No newline at end of file diff --git a/modules/ionos-mariadb-cluster/cidr-workaround.tf b/modules/ionos-mariadb-cluster/cidr-workaround.tf deleted file mode 100644 index 4d54ef5..0000000 --- a/modules/ionos-mariadb-cluster/cidr-workaround.tf +++ /dev/null @@ -1,12 +0,0 @@ -module "cidr_workaround" { - source = "../../modules/ionos-cidr-workaround" - k8s_cluster_id = var.k8s_cluster_id - lan_id = var.lan_id -} - -locals { - nicIndex = module.cidr_workaround.nicIndex - prefix = module.cidr_workaround.prefix - full_ip = cidrhost(local.prefix, var.ip_block) - cidr = format("%s/%s", local.full_ip, var.subnet_mask) -} diff --git a/modules/ionos-mariadb-cluster/main.tf b/modules/ionos-mariadb-cluster/main.tf deleted file mode 100644 index ac6b4bf..0000000 --- a/modules/ionos-mariadb-cluster/main.tf +++ /dev/null @@ -1,25 +0,0 @@ -resource "ionoscloud_mariadb_cluster" "mariadb_cluster" { - mariadb_version = var.mariadb_version - instances = var.instances_count - cores = var.cores - ram = var.memory - storage_size = var.volume_size - - connections { - datacenter_id = var.datacenter_id - lan_id = var.lan_id - cidr = local.cidr - } - display_name = var.display_name - - maintenance_window { - day_of_the_week = var.maintenance_day - time = format("%02d:00:00", var.maintenance_hour) - } - - credentials { - username = var.username - password = var.password - } - -} diff --git a/modules/ionos-mariadb-cluster/output.tf b/modules/ionos-mariadb-cluster/output.tf deleted file mode 100644 index 7d210e8..0000000 --- a/modules/ionos-mariadb-cluster/output.tf +++ /dev/null @@ -1,4 +0,0 @@ -output "dns_name" { - description = "The DNS name pointing to your cluster." - value = ionoscloud_mariadb_cluster.mariadb_cluster.dns_name -} diff --git a/modules/ionos-mariadb-cluster/variables.tf b/modules/ionos-mariadb-cluster/variables.tf deleted file mode 100644 index 4833f8c..0000000 --- a/modules/ionos-mariadb-cluster/variables.tf +++ /dev/null @@ -1,65 +0,0 @@ -variable "mariadb_version" { - description = "The MariaDB version of your cluster" - type = string -} -variable "instances_count" { - description = "The total number of instances in the cluster (one primary and n-1 secondary)" - type = number -} -variable "cores" { - description = "The number of CPU cores per instance" - type = number -} -variable "memory" { - description = "The amount of memory per instance in gigabytes (GB)" - type = number -} -variable "volume_size" { - description = "The amount of storage per instance in gigabytes (GB)" - type = number -} -variable "display_name" { - description = "The friendly name of your cluster" - type = string -} -variable "maintenance_day" { - description = "The day of the week for the 4 hour-long maintenance window. (Default: Sunday)" - type = string - default = "Sunday" -} -variable "maintenance_hour" { - description = "The time of the day when the 4 hour-long maintenance window may start. (Default: 3)" - type = number - default = 3 -} - -variable "username" { - description = "The username for the initial MariaDB user" - type = string -} -variable "password" { - description = "The password for the initial MariaDB user" - type = string -} -variable "k8s_cluster_id" { - description = "" - type = string -} -variable "lan_id" { - description = "The LAN to connect your cluster to." - type = string -} -variable "datacenter_id" { - description = "The datacenter to connect your cluster to." - type = string -} -variable "ip_block" { - description = "The number to be set in the last ip block. (Default: 101)" - type = number - default = 101 -} -variable "subnet_mask" { - description = "The subnet mask to use for allowing connections from the LAN. (Default: 16)" - type = string - default = 16 -} \ No newline at end of file diff --git a/modules/ionos-network-loadbalancer/README.md b/modules/ionos-network-loadbalancer/README.md index a2f965d..77f8b05 100644 --- a/modules/ionos-network-loadbalancer/README.md +++ b/modules/ionos-network-loadbalancer/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules | Name | Source | Version | @@ -34,13 +34,13 @@ | Name | Version | |------|---------| -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_ipblock.nlb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/ipblock) | resource | -| [ionoscloud_lan.nlb_listener_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/lan) | resource | -| [ionoscloud_networkloadbalancer.nlb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/networkloadbalancer) | resource | -| [ionoscloud_networkloadbalancer_forwardingrule.forward_k8](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/networkloadbalancer_forwardingrule) | resource | +| [ionoscloud_ipblock.nlb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/ipblock) | resource | +| [ionoscloud_lan.nlb_listener_lan](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/lan) | resource | +| [ionoscloud_networkloadbalancer.nlb](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/networkloadbalancer) | resource | +| [ionoscloud_networkloadbalancer_forwardingrule.forward_k8](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/networkloadbalancer_forwardingrule) | resource | \ No newline at end of file diff --git a/modules/ionos-network-loadbalancer/versions.tf b/modules/ionos-network-loadbalancer/versions.tf index 4f95fb0..b247aca 100644 --- a/modules/ionos-network-loadbalancer/versions.tf +++ b/modules/ionos-network-loadbalancer/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } } diff --git a/modules/ionos-pg-cluster/README.md b/modules/ionos-pg-cluster/README.md index 3b372fd..209a06e 100644 --- a/modules/ionos-pg-cluster/README.md +++ b/modules/ionos-pg-cluster/README.md @@ -4,7 +4,7 @@ | Name | Version | |------|---------| -| [ionoscloud](#provider\_ionoscloud) | 6.3.6 | +| [ionoscloud](#provider\_ionoscloud) | 6.4.18 | ## Modules | Name | Source | Version | @@ -42,10 +42,10 @@ | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 0.13 | -| [ionoscloud](#requirement\_ionoscloud) | 6.3.6 | +| [ionoscloud](#requirement\_ionoscloud) | 6.4.18 | ## Resources | Name | Type | |------|------| -| [ionoscloud_pg_cluster.pg_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.3.6/docs/resources/pg_cluster) | resource | +| [ionoscloud_pg_cluster.pg_cluster](https://registry.terraform.io/providers/ionos-cloud/ionoscloud/6.4.18/docs/resources/pg_cluster) | resource | \ No newline at end of file diff --git a/modules/ionos-pg-cluster/cidr-workaround.tf b/modules/ionos-pg-cluster/cidr-workaround.tf index 4d54ef5..b760890 100644 --- a/modules/ionos-pg-cluster/cidr-workaround.tf +++ b/modules/ionos-pg-cluster/cidr-workaround.tf @@ -9,4 +9,4 @@ locals { prefix = module.cidr_workaround.prefix full_ip = cidrhost(local.prefix, var.ip_block) cidr = format("%s/%s", local.full_ip, var.subnet_mask) -} +} \ No newline at end of file diff --git a/modules/ionos-pg-cluster/variables.tf b/modules/ionos-pg-cluster/variables.tf index 98a0cca..7189bfa 100644 --- a/modules/ionos-pg-cluster/variables.tf +++ b/modules/ionos-pg-cluster/variables.tf @@ -75,4 +75,4 @@ variable "synchronization_mode" { description = "Represents different modes of replication. Can have one of the following values: ASYNCHRONOUS, SYNCHRONOUS, STRICTLY_SYNCHRONOUS. This attribute is immutable(disallowed in update requests). (Default: ASYNCHRONOUS)" type = string default = "ASYNCHRONOUS" -} +} \ No newline at end of file diff --git a/modules/ionos-pg-cluster/versions.tf b/modules/ionos-pg-cluster/versions.tf index d0372ea..f06a861 100644 --- a/modules/ionos-pg-cluster/versions.tf +++ b/modules/ionos-pg-cluster/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ionoscloud = { source = "ionos-cloud/ionoscloud" - version = "6.3.6" + version = "6.4.18" } } required_version = ">= 0.13"