ionos-cloud / terraform-provider-ionoscloud

The IonosCloud Terraform provider gives the ability to deploy and configure resources using the IonosCloud APIs.
Mozilla Public License 2.0
35 stars 23 forks source link

Provide the id of a managed NAT Gateway by a private k8s cluster #599

Closed smoench closed 3 months ago

smoench commented 3 months ago

Current Provider Version

6.4.18

Use-cases

I want to add additional rules to a k8s managed NAT Gateway and also an additional IP address. In the end I want to have a smooth migration from an application hosted on a dedicated server to be hosted on a managed k8s cluster without changing the DNS cname to a different IP address.

Proposal

To the data source ionoscloud_k8s_cluster there could a nat_gateway_id property be added.

cristiGuranIonos commented 3 months ago

The nat gateway that is part of the k8s cluster cannot be edited as it is considered a managed resource.