aws-sdk-s3: NoMethodError: undefined method `account_id' for an instance of Aws::STS::Types::Credentials #3114
Labels
bug
This issue is a bug.
guidance
Question that needs advice or information.
potential-regression
Marking this issue as a potential regression to be checked by team member
Describe the bug
Starting with 1.164.x, I'm seeing an exception when trying to assume a role via STS. 1.163.x does not exhibit this behavior. Specifically, the S3 SDK is attempting to access an apparently non-existent
account_id
property onAws::STS::Types::Credentials
.Regression Issue
Expected Behavior
I expected the code that I wrote and have been successfully using untouched for months to continue working.
Specifically, I'm using
Aws::STS::Client
toassume_role
before performing S3 operations.Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version
aws-sdk-s3 1.164.x and 1.165.x.
Environment details (Version of Ruby, OS environment)
Ruby 3.3.1, macOS 14.6.1
The text was updated successfully, but these errors were encountered: