Closed valeriudev closed 8 months ago
Make sure aws sts get-caller-identity
returns valid credentials. It looks like you don't have credentials setup correctly
It looks like the profile (dashfx) you are using is not correctly configured. Seems like you are using the source_profile config, and the source profile (default) doesn't have credentials configured.
I have no experience with this kind of setup, but as @nijave suggested I would recommend you to make sure the profile you are using is correctly configured.
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
Version: 0.14.0 Python: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] boto3 version: 1.34.16 Platform: Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 Args: ['/home/valgutu/.local/bin/awslogs', '--profile=dashfx', 'groups'] Config: {'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE', 'aws_region': None, 'aws_endpoint_url': None, 'log_group_prefix': None, 'func': 'list_groups'}