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
CDK is failing with Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
when we use cr.AwsCustomResource with cross account assumedRoleArn role.
It works fine when it is called only once, but if there are two separate calls with different accounts assumedRoleArn the resource fails with the error above.
Expected Behavior
Not to fail
Current Behavior
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
Describe the bug
CDK is failing with
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
when we use
cr.AwsCustomResource
with cross accountassumedRoleArn
role.It works fine when it is called only once, but if there are two separate calls with different accounts assumedRoleArn the resource fails with the error above.
Expected Behavior
Not to fail
Current Behavior
Reproduction Steps
Possible Solution
assumedRoleArn1 and assumedRoleArn2 are from 2 different AWS accounts, separate from the account running the cloudformation
Additional Information/Context
No response
CDK CLI Version
2.60.0 (build 2d40d77)
Framework Version
om
Node.js Version
v16.14.0
OS
Linux
Language
Typescript
Language Version
TypeScript (3.8.3)
Other information
No response
The text was updated successfully, but these errors were encountered: