Hey folks! I'm stuck with UserPool resource - spec...
# aws
b
Hey folks! I'm stuck with UserPool resource - specifically with Amazon Cognito managed domain prefix. I'd like to create one of these https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html And with pulumi https://www.pulumi.com/registry/packages/aws/api-docs/cognito/userpooldomain/
Copy code
const userPoolDomain = new aws.cognito.UserPoolDomain("userPoolDomain", {
  domain: `${name}-user-pool-domain`,
  userPoolId: userPool.id,
});

aws:cognito:UserPoolDomain (userPoolDomain):
    error:   sdk-v2/provider2.go:515: sdk.helper_schema: updating Cognito User Pool Domain (customer1-user-pool-domain): operation error Cognito Identity Provider: UpdateUserPoolDomain, https response error StatusCode: 400, RequestID: xxx, InvalidParameterException: 2 validation errors detected: Value '' at 'customDomainConfig.certificateArn' failed to satisfy constraint: Member must satisfy regular expression pattern: arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?; Value '' at 'customDomainConfig.certificateArn' failed to satisfy constraint: Member must have length greater than or equal to 20: provider=aws@6.66.2
I assume, it's not yet supported in the package since I can't see any additional flags (like managed domain). Appreciate any help on this! 🙏