You must be logged in to view saved presets
Configures an EKS cluster specifically for deployment on an AWS Outpost, including private endpoint access and outpost-specific settings.
resource "aws_eks_cluster" "example" {
name = "example-cluster"
outpost_config {
control_plane_instance_type = "m5d.large"
outpost_arns = ["data.aws_outposts_outpost.example.arn"]
}
role_arn = aws_iam_role.example.arn
vpc_config {
endpoint_private_access = true
endpoint_public_access = false
}
}
resource "aws_iam_role" "example" {
assume_role_policy = "data.aws_iam_policy_document.example_assume_role_policy.json"
name = "example"
}