aws-samples / iam-identity-center-team

Open-source temporary elevated access solution for AWS IAM Identity Center.
https://aws-samples.github.io/iam-identity-center-team/
MIT No Attribution
295 stars 67 forks source link

'--app-id expected error' when running cognito.sh #249

Closed nateupp1301 closed 4 months ago

nateupp1301 commented 4 months ago

An AWS error is produced when running the cognito.sh script to configure the MetadataURL for the configuration steps. The documentation steps show that this script should run without error. Configuration and Deployment steps were followed exactly.

aws: error: argument --app-id: expected one argument

{ "IdentityProvider": { "IdentityProvider": { "UserPoolId": "us-east-1_*", "ProviderName": "IDC", "ProviderType": "SAML", "ProviderDetails": { "ActiveEncryptionCertificate": "**", "MetadataURL": "***", "SLORedirectBindingURI": "**", "SSORedirectBindingURI": "**" }, "AttributeMapping": { "email": "Email" }, "IdpIdentifiers": [ "team" ], "LastModifiedDate": "2024-05-22T17:13:33.226000-05:00", "CreationDate": "2024-05-22T17:13:33.226000-05:00" } } (END)Traceback (most recent call last): File "PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py", line 26, in File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 499, in exec_module File "pkgutil.py", line 184, in File "functools.py", line 892, in register File "functools.py", line 842, in _is_union_type File "", line 1178, in _find_and_load File "", line 1149, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "PyInstaller/loader/pyimod02_importers.py", line 499, in exec_module File "typing.py", line 1015, in File "typing.py", line 390, in __init_subclass__ KeyboardInterrupt [5134] Failed to execute script 'pyi_rth_pkgutil' due to unhandled exception!

To Reproduce Steps to reproduce the behavior:

  1. ./cognito.sh

Expected behavior Configuration of the metadataurl in Cognito.

Desktop