Private link support to eks got added very recently see following issue.
I would like to configure this from terraform.
I would add this to the vpc config of the aws_eks_resource something like:
resource "aws_eks_cluster" "this" {
name = "${var.cluster_name}"
role_arn = "${aws_iam_role.cluster.arn}"
version = "${var.cluster_version}"
vpc_config {
security_group_ids = ["${local.cluster_security_group_id}"]
subnet_ids = ["${var.subnets}"]
private_access = true
public_access = true
}
timeouts {
create = "${var.cluster_create_timeout}"
delete = "${var.cluster_delete_timeout}"
}
}
Work in progress pull request can be found here: https://github.com/terraform-providers/terraform-provider-aws/pull/8024
Support for managing the EKS Cluster endpoint access has been merged and will release with version 2.3.0 of the Terraform AWS Provider, likely in the next day or two.
Wonderful! Just what i need right now.
That was fast. Looking forward to this. Thanks!
This has been released in version 2.3.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
Support for managing the EKS Cluster endpoint access has been merged and will release with version 2.3.0 of the Terraform AWS Provider, likely in the next day or two.