-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
I create a aws_cognito_user_pool_domain with a custom domain. But how get I the data for the record? #22860
Comments
Hello! We use GitHub issues for tracking bugs and enhancements, rather than for questions. While we can sometimes help with certain simple problems here, it's better to use the community forum where there are more people ready to help. The GitHub issues here are monitored only by our few core maintainers. Since this issue doesn't represent a specific bug or feature request, We're going to close it. Please do feel free to ask your question in the community forum. Thanks! |
I have the exact same question. I think that this issue can be re-interpreted as a bug because with the missing information there is no way to create an alias record, which is the natural step after registering a custom domain with Cognito. Expected Behavior: |
Hi @teamterraform, |
Hey @tzahari I figured out that this is definitely a naming bug. Where This is definitely a naming bug. Also would be very helpful that terraform provided this hardcoded |
IMHO this issue should be re-opened and addressed, except if there is a similar one already on the workings. |
Thanks @renatoargh ! Your hint helped me a lot.
|
…main example This belongs to hashicorp/terraform#22860
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Terraform Version
Terraform Configuration Files
...
Debug Output
Crash Output
Expected Behavior
I would like to get a hint how I generate the Route53 alias record out of the aws_cognito_user_pool_domain?
The aws_cognito_user_pool_domain is creating a CloudFront instance and I get the arn out of that (aws_cognito_user_pool_domain.auth.cloudfront_distribution_arn).
But then? There is no data provider for a aws_cloudfront.
And I need for the aws_route53_record alias record the zone_id and cloudfront fqdn.
Actual Behavior
I am currently not able to access the the needed information from the generated CloudFront distribution to generate the needed route53 alias record.
Steps to Reproduce
create a aws_cognito_user_pool
create a aws_acm_certificate for eg. auth.test.com
create aws_cognito_user_pool_domain with the domain auth.test.com and the certificate
try to create the aws_route53_record for the CloudFront distribution
Additional Context
References
Thanks for your help
The text was updated successfully, but these errors were encountered: