Terraform module to create Amazon Cognito User Pools, configure its attributes and resources such as app clients, domain, resource servers. Amazon Cognito User Pools provide a secure user directory that scales to hundreds of millions of users.
Apache License 2.0
93
stars
99
forks
source link
Missing an important output for the cognito domain #137
The "aws_cognito_user_pool_domain" resource has an attribute named "cloudfront_distribution_zone_id". This is required if you want to create a route_53 record in Terraform or other SDK.
Suggested fix to add to the outputs.tf:
output "domain_cloudfront_distribution_zone_id" {
description = "The ZoneID of the CloudFront distribution"
value = var.enabled ? join("", aws_cognito_user_pool_domain.domain.*.cloudfront_distribution_zone_id) : null
}
The "aws_cognito_user_pool_domain" resource has an attribute named "cloudfront_distribution_zone_id". This is required if you want to create a route_53 record in Terraform or other SDK.
Suggested fix to add to the outputs.tf: