Skip to content

Commit

Permalink
Move bundled gem requires until after autoload setup
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Sep 16, 2024
1 parent 242e7e1 commit 7b95851
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions gems/aws-sdk-core/lib/aws-sdk-core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,9 @@
require 'jmespath'

require_relative 'aws-sdk-core/deprecations'


# defaults
require_relative 'aws-defaults'

# plugins
# loaded through building STS or SSO ..

# aws-sdk-sts is included to support Aws::AssumeRoleCredentials
require_relative 'aws-sdk-sts'

# aws-sdk-sso is included to support Aws::SSOCredentials
require_relative 'aws-sdk-sso'
require_relative 'aws-sdk-ssooidc'

module Aws

autoload :IniParser, 'aws-sdk-core/ini_parser'
Expand Down Expand Up @@ -216,3 +204,10 @@ def eager_autoload!(*args)

end
end

# aws-sdk-sts is included to support Aws::AssumeRoleCredentials
require_relative 'aws-sdk-sts'

# aws-sdk-sso is included to support Aws::SSOCredentials
require_relative 'aws-sdk-sso'
require_relative 'aws-sdk-ssooidc'

0 comments on commit 7b95851

Please sign in to comment.