Run eksctl create cluster -f ondat.yaml on:
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: ondat
region: ap-south-1| #!/usr/bin/env bash | |
| # stop running this script if any command fails | |
| set -e | |
| echo Fetching instances tagged with Upgrade = Pending... | |
| INSTANCES=$(aws ec2 describe-instances \ | |
| --filters "Name=tag:Upgrade,Values=Pending" \ | |
| --output json \ |
| # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-config.html | |
| version = 0.1 | |
| # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-build.html | |
| [default.build.parameters] | |
| parallel = true | |
| profile = "hkm" | |
| region = "ap-south-1" | |
| # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-invoke.html |