diff --git a/create-chained-sessions.sh b/create-chained-sessions.sh index c80604c..8784ea7 100755 --- a/create-chained-sessions.sh +++ b/create-chained-sessions.sh @@ -14,9 +14,10 @@ declare REGION='us-east-1' # function to create a chained leapp session given a parent session id # Args: # 1: name of environment ("playground", "staging", etc.) -# 2: sso role name to use for the parent session -# 3: scope of the IAM role ("panorama" or "eks" or "rds"). -# 4: name of the persona (e.g. admin, dev-writer, etc.) the new session is for +# 2: name of service ("k8s" or "DBs", reflecting naming of parent Leapp sessions) +# 3: sso role name to use for the parent session +# 4: scope of the IAM role ("panorama" or "eks" or "rds"). +# 5: name of the persona (e.g. admin, dev-writer, etc.) the new session is for function createLeappSession { green_echo "creating chained session for $1 with persona $5" environment_name=$1