Closed alexeyshishkin01 closed 2 weeks ago
this is the output of the command 'pnpm run galileo-cli deploy --dryRun':
[DRYRUN] docker info ✔ Config file name? … config.json ✔ Application Name (stack/resource naming) … Galileo ✔ AWS Profile … default ✔ AWS Region (app) … us-east-1 CredentialsProviderError: Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got sso_session, sso_account_id, sso_role_name, region, output Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html ELIFECYCLE Command failed with exit code 1.
this is the content of my ~/.aws/config file:
[default] sso_session = cloud9-sso sso_account_id = XXX sso_role_name = YYY region = us-east-1 output = json [sso-session cloud9-sso] sso_start_url = https://ZZZ/start sso_region = eu-central-1 sso_registration_scopes = sso:account:access
My SSO config works well for other application, so I do believe something is wrong with Galileo, could you pls. have a look ?
'pnpm run galileo-cli deploy --dryRun' should work without any issue with SSO
configure SSO and try to run 'pnpm run galileo-cli deploy --dryRun'
No response
pnpm run prerequisite-check > monorepo@0.0.0 prerequisite-check /home/ubuntu/environment/aws-genai-conversational-rag-reference > ./prerequisite-check.sh Galileo Prerequisite Check... system: Linux 6.5.0-1017-aws #17~22.04.2-Ubuntu SMP Mon Mar 25 20:28:54 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux pnpm: 9.0.5 node: v20.12.2 python: Python 3.11.0rc1 poetry: Poetry (version 1.8.2) docker: Docker version 26.0.1, build d260a54 java: openjdk 18.0.2 2022-07-19 OpenJDK Runtime Environment Corretto-18.0.2.9.1 (build 18.0.2+9-FR) OpenJDK 64-Bit Server VM Corretto-18.0.2.9.1 (build 18.0.2+9-FR, mixed mode, sharing) aws: aws-cli/2.15.38 Python/3.11.8 Linux/6.5.0-1017-aws exe/x86_64.ubuntu.22 prompt/off
Describe the bug
this is the output of the command 'pnpm run galileo-cli deploy --dryRun':
[DRYRUN] docker info ✔ Config file name? … config.json ✔ Application Name (stack/resource naming) … Galileo ✔ AWS Profile … default ✔ AWS Region (app) … us-east-1 CredentialsProviderError: Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got sso_session, sso_account_id, sso_role_name, region, output Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html ELIFECYCLE Command failed with exit code 1.
this is the content of my ~/.aws/config file:
[default] sso_session = cloud9-sso sso_account_id = XXX sso_role_name = YYY region = us-east-1 output = json [sso-session cloud9-sso] sso_start_url = https://ZZZ/start sso_region = eu-central-1 sso_registration_scopes = sso:account:access
My SSO config works well for other application, so I do believe something is wrong with Galileo, could you pls. have a look ?
Expected Behavior
'pnpm run galileo-cli deploy --dryRun' should work without any issue with SSO
Current Behavior
this is the output of the command 'pnpm run galileo-cli deploy --dryRun':
[DRYRUN] docker info ✔ Config file name? … config.json ✔ Application Name (stack/resource naming) … Galileo ✔ AWS Profile … default ✔ AWS Region (app) … us-east-1 CredentialsProviderError: Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got sso_session, sso_account_id, sso_role_name, region, output Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html ELIFECYCLE Command failed with exit code 1.
this is the content of my ~/.aws/config file:
[default] sso_session = cloud9-sso sso_account_id = XXX sso_role_name = YYY region = us-east-1 output = json [sso-session cloud9-sso] sso_start_url = https://ZZZ/start sso_region = eu-central-1 sso_registration_scopes = sso:account:access
My SSO config works well for other application, so I do believe something is wrong with Galileo, could you pls. have a look ?
Reproduction Steps
configure SSO and try to run 'pnpm run galileo-cli deploy --dryRun'
Possible Solution
No response
Additional Information/Context
No response
Environment details (OS name and version, etc.)
pnpm run prerequisite-check > monorepo@0.0.0 prerequisite-check /home/ubuntu/environment/aws-genai-conversational-rag-reference > ./prerequisite-check.sh Galileo Prerequisite Check... system: Linux 6.5.0-1017-aws #17~22.04.2-Ubuntu SMP Mon Mar 25 20:28:54 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux pnpm: 9.0.5 node: v20.12.2 python: Python 3.11.0rc1 poetry: Poetry (version 1.8.2) docker: Docker version 26.0.1, build d260a54 java: openjdk 18.0.2 2022-07-19 OpenJDK Runtime Environment Corretto-18.0.2.9.1 (build 18.0.2+9-FR) OpenJDK 64-Bit Server VM Corretto-18.0.2.9.1 (build 18.0.2+9-FR, mixed mode, sharing) aws: aws-cli/2.15.38 Python/3.11.8 Linux/6.5.0-1017-aws exe/x86_64.ubuntu.22 prompt/off