Closed patricksanders closed 1 year ago
Hi, we are rolling out a fix for this issue. It should be available in all regions by 1/27/2023
https://github.com/aws/amazon-ssm-agent/releases/tag/3.2.532.0
Great, thanks for the update @gianniLesl
The fix is now released in all regions. Please re-open if you still experience issues with this.
When upgrading the SSM agent on Ubuntu 18.04 from 3.1.x to 3.2.x, our
aws:runShellScript
actions began failing with an error when AWS CLI commands are executed:These commands are configured to set environment variables containing session credentials in
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
, andAWS_SESSION_TOKEN
based on parameter inputs. It appears that a change between 3.1.x and 3.2.x started setting theAWS_PROFILE
andAWS_SHARED_CREDENTIALS_FILE
variables in the run environment, which is likely the cause of the error.3.1.x environment:
3.2.x environment: