๐ฏ To deploy a customised Managed Node Group using a specified AMI and a SSM Agent as a demonstration of deploying custom software to the Worker Nodes.
cd ${WORKING_DIR}/modules/eks-nodegroup
terraform init -reconfigure -backend-config="region=${AWS_REGION}" \
-backend-config="bucket=${TF_STATE_S3_BUCKET}" \
-backend-config="key=${PROJECT_ID}-eks-nodegroup.tfstate" \
-backend-config="dynamodb_table=${TF_STATE_DYNAMODB_TABLE}"
terraform plan -out tfplan
terraform apply -input=false -auto-approve tfplan
cd ../..