aws-samples / dcv-web-portal

Other
18 stars 8 forks source link

Error while creating Cognito User Pool Domain #16

Open dristirakeshr opened 11 months ago

dristirakeshr commented 11 months ago

Error: creating Cognito User Pool Domain (dcv-portal-dev-auth): InvalidParameterException: Domain already associated with another user pool.with module.authentication.aws_cognito_user_pool_domain.main, │ on modules/authentication/main.tf line 43, in resource "aws_cognito_user_pool_domain" "main": │ 43: resource "aws_cognito_user_pool_domain

However, there is no aws_cognito_user_pool_domain with name dcv-portal-dev-auth

signalconductor commented 11 months ago

When I ran into this, it was due to needing to define a unique name for the project. I believe the environment + project name has to be unique across all of AWS so using the defaults fails.