|
28 | 28 | # It is need to provide session credentials and assume role support. |
29 | 29 | # Only building source, but not gemspecs, version file, etc. |
30 | 30 | task 'build:aws-sdk-sts' do |
| 31 | + Aws::STS if Aws.autoload?(:STS) # force autoload from core |
31 | 32 | sts = BuildTools::Services.service('sts') |
32 | 33 | generator = AwsSdkCodeGenerator::CodeBuilder.new( |
33 | 34 | aws_sdk_core_lib_path: $CORE_LIB, |
|
48 | 49 | # It is need to provide SSO Credentials. |
49 | 50 | # Only building source, but not gemspecs, version file, etc. |
50 | 51 | task 'build:aws-sdk-sso' do |
| 52 | + Aws::SSO if Aws.autoload?(:SSO) # force autoload from core |
51 | 53 | sso = BuildTools::Services.service('sso') |
52 | 54 | generator = AwsSdkCodeGenerator::CodeBuilder.new( |
53 | 55 | aws_sdk_core_lib_path: $CORE_LIB, |
|
66 | 68 | # Aws::SSOOIDC is generated directly into the `aws-sdk-core` gem. |
67 | 69 | # Only building source, but not gemspecs, version file, etc. |
68 | 70 | task 'build:aws-sdk-ssooidc' do |
| 71 | + Aws::SSOOIDC if Aws.autoload?(:SSOOIDC) # force autoload from core |
69 | 72 | ssooidc = BuildTools::Services.service('ssooidc') |
70 | 73 | generator = AwsSdkCodeGenerator::CodeBuilder.new( |
71 | 74 | aws_sdk_core_lib_path: $CORE_LIB, |
|
0 commit comments