This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
forked from amancevice/terraform-aws-serverless-pypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
65 lines (54 loc) · 1.89 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
output "bucket" {
description = "PyPI S3 bucket"
value = aws_s3_bucket.pypi
}
output "lambda_api" {
description = "PyPI REST API proxy Lambda function"
value = aws_lambda_function.api
}
output "lambda_reindex" {
description = "Reindexer Lambda function"
value = aws_lambda_function.reindex
}
output "rest_api_gateway" {
value = aws_api_gateway_rest_api.gw
}
output "rest_api_redeployment_trigger" {
description = "API Gateway REST API redeployment trigger"
value = sha1(join(",", list(
jsonencode(aws_api_gateway_integration.root_get),
jsonencode(aws_api_gateway_integration.root_head),
jsonencode(aws_api_gateway_integration.root_post),
jsonencode(aws_api_gateway_integration.proxy_get),
jsonencode(aws_api_gateway_integration.proxy_head),
jsonencode(aws_api_gateway_integration.proxy_post),
)))
}
output "rest_api_integration_root_get" {
description = "API Gateway REST API GET / integration"
value = aws_api_gateway_integration.root_get
}
output "rest_api_integration_root_head" {
description = "API Gateway REST API HEAD / integration"
value = aws_api_gateway_integration.root_head
}
output "rest_api_integration_root_post" {
description = "API Gateway REST API POST / integration"
value = aws_api_gateway_integration.root_post
}
output "rest_api_integration_proxy_get" {
description = "API Gateway REST API GET /{proxy+} integration"
value = aws_api_gateway_integration.proxy_get
}
output "rest_api_integration_proxy_head" {
description = "API Gateway REST API HEAD /{proxy+} integration"
value = aws_api_gateway_integration.proxy_head
}
output "rest_api_integration_proxy_post" {
description = "API Gateway REST API POST /{proxy+} integration"
value = aws_api_gateway_integration.proxy_post
}
output "role" {
description = "PyPI REST API Lambda IAM role"
value = aws_iam_role.role
}