forked from alexrashed/hackathon202304
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
32 lines (25 loc) · 835 Bytes
/
outputs.tf
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
# Output variable definitions
output "ingest_lambda_url" {
value = aws_lambda_function_url.ingest_lambda_url.function_url
}
output "search_lambda_url" {
value = aws_lambda_function_url.search_lambda_url.function_url
}
output "elasticsearch_endpoint" {
value = aws_elasticsearch_domain.movies_es_domain.endpoint
}
output "website_bucket_arn" {
description = "ARN of the bucket"
value = aws_s3_bucket.website_bucket.arn
}
output "website_bucket_name" {
description = "Name (id) of the bucket"
value = aws_s3_bucket.website_bucket.id
}
output "website_bucket_domain" {
description = "Domain name of the bucket"
value = aws_s3_bucket_website_configuration.website_bucket.website_domain
}
output "website_endpoint" {
value = aws_s3_bucket_website_configuration.website_bucket.website_endpoint
}