Skip to content

Instantly share code, notes, and snippets.

@samof76
Created August 7, 2020 03:52
Show Gist options
  • Save samof76/71a364b3e4183e5834140294149894b1 to your computer and use it in GitHub Desktop.
Save samof76/71a364b3e4183e5834140294149894b1 to your computer and use it in GitHub Desktop.
05_eks_cluster.tf
module "eks_cluster" {
source = "git.url/repo?ref=em2.14"
cluster_name = var.cluster_name
cluster_version = var.cluster_version
cluster_log_types = var.cluster_log_types
environment = var.stage
subnet_ids = module.subnets_from_list.eks_subnet_ids
vpc_id = var.vpc_id
master_associated_policies = var.master_associated_policies
allowed_sgs_master = var.allowed_sgs_master
allowed_sgs_cidrs_master = var.allowed_sgs_cidrs_master
tags = local.tags
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment