/dev create a terraform project for creating an EKS cluster. Also create any VPC, subnets and other AWS resources required for this new EKS cluster. Use latest available versions of aws terraform modules. make sure the subnet can auto assign Public IP addresses. set enable_cluster_creator_admin_permissions = true. Use version 20 or higher of terraform-aws-modules/eks/aws and version 1.32 of Kubernetes . Name the EKS cluster “dev_q_eks_cluster”
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/create-eks-cluster-using-aws-and-terraform-best-practices.md https://promptz.dev/prompts/aws/create-eks-cluster-using-aws-and-terraform-best-practices/2. Use with Q CLI:
q prompts use create-eks-cluster-using-aws-and-terraform-best-practices