Skip to content

CLI: SDK call logging doesn't work anymore since SDKv3 #32306

@rix0rrr

Description

@rix0rrr

Describe the bug

Compare these 2 logs:

>> v2.166.0
[13:59:43] Assuming role 'arn:aws:iam::012345678901:role/cdk-REDACTED-lookup-role-012345678901-ap-northeast-1'.
[13:59:43] [trace]   SDK#forceCredentialRetrieval()
[13:59:43] [trace] SDK#ssm()
[13:59:43] [trace]   SDK#wrapServiceErrorHandling()
[13:59:43] [AWS ssm 200 0.296s 0 retries] getParameter({ Name: '/cdk-bootstrap/REDACTED/version' })
[13:59:43] [trace] SDK#cloudFormation()
[13:59:43] [trace]   SDK#wrapServiceErrorHandling()
[13:59:44] [AWS cloudformation 200 0.209s 0 retries] describeStacks({ StackName: 'REDACTED' })
[13:59:44] [AWS cloudformation 200 0.122s 0 retries] getTemplate({ StackName: 'REDACTED', TemplateStage: 'Original' })
[13:59:44] [trace] SdkProvider#resolveEnvironment()

>> v2.171.1-rc.0-16d61b1
[17:36:40] Assuming role 'arn:aws:iam::REDACTED:role/cdk-REDACTED-lookup-role-REDACTED-ap-northeast-1'.
[17:36:46] [trace] SDK#ssm()
[17:36:56] [trace] SDK#cloudFormation()
[17:37:09] [trace] SdkProvider#resolveEnvironment()

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

Current Behavior

Reproduction Steps

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

Framework Version

No response

Node.js Version

OS

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.effort/mediumMedium work item – several days of effortp1package/toolsRelated to AWS CDK Tools or CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions