You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(pipelines): build failed during building aws-cdk, no export for CredentialProviderSource#19495
While working on some features on the pipelines module locally, the build failed when it tried to build aws-cdk.
This seems to be a regression from this PR #19324 from @rix0rrr.
After adding the CredentialProviderSource to the export members of the credentials.ts file, the build has succeeded.
I can provide a PR fix for this.
Reproduction Steps
Try to build the pipelines package.
cd packages/@aws-cdk/pipelines
../../../scripts/buildup
What did you expect to happen?
The build for the pipelines module to succeed.
What actually happened?
Error from build:
/aws-cdk/packages/aws-cdk: yarn build (57 remaining)
yarn run v1.22.17
$ cdk-build
lib/plugin.d.ts(1,10): error TS2305: Module '"./api/aws-auth/credentials"' has no exported member 'CredentialProviderSource'.
This discussion was converted from issue #19483 on March 21, 2022 13:14.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
What is the problem?
While working on some features on the
pipelinesmodule locally, the build failed when it tried to buildaws-cdk.This seems to be a regression from this PR #19324 from @rix0rrr.
After adding the
CredentialProviderSourceto theexportmembers of thecredentials.tsfile, the build has succeeded.I can provide a PR fix for this.
Reproduction Steps
Try to build the
pipelinespackage.What did you expect to happen?
The build for the
pipelinesmodule to succeed.What actually happened?
Error from build:
CDK CLI Version
2.17.0
Framework Version
No response
Node.js Version
16.6.2
OS
macOS Monterey
Language
Typescript
Language Version
No response
Other information
No response
All reactions