aws_ssm.Connection._get_boto_client lose access_key, token when using aws profile #2088
Open
1 task done
Labels
needs_info
This issue requires further information. Please answer any outstanding questions
Summary
I'm using ansible with aws ssm connection. I authenticated with aws credential profile, but encountered error on s3 client initializing
I printed debug log at fail point, access_key and token was None
Because of this, scope becomes
[None, '20240514', 'ap-northeast-2', 's3', 'aws4_request']
and raise error doing join None typeIssue Type
Bug Report
Component Name
ansible_collections.community.aws.plugins.connection.aws_ssm.Connection._get_boto_client
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
M1 Mac
Steps to Reproduce
Expected Results
successfully connect to s3 and ec2 instance
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: