From 735a7e8c60f7ba5a0bcaad2d73776387ad69d83f Mon Sep 17 00:00:00 2001 From: Sahil Date: Wed, 19 Dec 2018 11:47:57 +0530 Subject: [PATCH] [Add] Outputs for cognito user pool domain --- outputs.tf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/outputs.tf b/outputs.tf index 2c3f884..c65c787 100644 --- a/outputs.tf +++ b/outputs.tf @@ -32,3 +32,23 @@ output "userpool_client_secret" { value = "${aws_cognito_user_pool_client.client.client_secret}" description = "The client secret of the user pool client" } + +output "aws_account_id" { + value = "${aws_cognito_user_pool_domain.domain.aws_account_id}" + description = "The AWS account ID for the user pool owner" +} + +output "cloudfront_distribution_arn" { + value = "${aws_cognito_user_pool_domain.domain.cloudfront_distribution_arn}" + description = "The ARN of the CloudFront distribution" +} + +output "s3_bucket" { + value = "${aws_cognito_user_pool_domain.domain.s3_bucket}" + description = "The S3 bucket where the static files for this domain are stored" +} + +output "version" { + value = "${aws_cognito_user_pool_domain.domain.version}" + description = "The app version" +}