-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutputs.tf
More file actions
42 lines (31 loc) · 827 Bytes
/
Copy pathoutputs.tf
File metadata and controls
42 lines (31 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Backend API
output "api_endpoint" {
value = module.api_gateway.api_endpoint
}
# Frontend app
output "s3_bucket_name" {
value = module.s3_bucket.s3_bucket_id
}
output "cloudfront_distribution_domain_name" {
value = module.cloudfront.cloudfront_distribution_domain_name
}
# Auth
output "cognito_user_pool_id" {
value = aws_cognito_user_pool.this.id
}
output "cognito_client_id" {
value = aws_cognito_user_pool_client.default.id
}
output "cognito_identity_pool_id" {
value = aws_cognito_identity_pool.this.id
}
output "cognito_hosted_ui_domain" {
value = aws_cognito_user_pool_domain.this.domain
}
output "cognito_region" {
value = "us-east-1"
}
# Additional outputs for better configuration
output "s3_bucket_regional_domain_name" {
value = module.s3_bucket.s3_bucket_bucket_regional_domain_name
}