Error when using ssm parameter for congnitoprefix>domainprefix #8314
Labels
@aws-cdk/aws-cognito
Related to Amazon Cognito
bug
This issue is a bug.
good first issue
Related to contributions. See CONTRIBUTING.md
p1
Where
cfSubDomain
value is:Supposedly, in Cognito domain, the ${cfSubDomain} should be substituted by the value of cfSubDomain from SSM.
When CDK prints cfSubDomain, I got ${Token[TOKEN.1223]}, normally ${Token[TOKEN.1223]} is only used during synth time, these actually get filled in with the correct value.
That normally works for other services, but not for Cognito this time. As the error saying " throw new Error('domainPrefix for cognitoDomain can contain only lowercase alphabets, numbers and hyphens'); "
===== Error Trace =====
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: