-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-cdk/aws-cognito-identitypool-alpha: IdentityPool.fromIdentityPool* static methods do not support Fn.importValue #28184
Comments
This is also true if using an SSM parameter. |
I'm pretty sure the static methods are completely broken. Im not sure how it's possible, but if I hardcode the ARN value directly into If i pass a variable of any kind (even if that variable is hardcoded), it errors For example, this works:
This does not work:
|
How is it possible to achieve without hardcoding value? Tried SSM and cfnExport
|
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
Describe the bug
Using
Fn.importValue
method fromaws-cdk-lib
as input forIdentityPool.fromIdentityPoolArn
orIdentityPool.fromIdentityPoolId
will error out:Expected Behavior
I expected for Fn.importValue to be a supported argument for
fromIdentityPoolArn
orfromIdentityPoolId
static methodsCurrent Behavior
Using
Fn.importValue('outputName')
as ARN or Id arg throws out:Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.110.1-1
Framework Version
No response
Node.js Version
18.13.0
OS
Windows 10
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: