-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
94 lines (75 loc) · 2.69 KB
/
outputs.tf
File metadata and controls
94 lines (75 loc) · 2.69 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
output "region" {
description = "string ||| The region the lambda was created."
value = data.aws_region.this.region
}
output "deployer" {
value = {
name = aws_iam_user.deployer.name
access_key = aws_iam_access_key.deployer.id
secret_key = aws_iam_access_key.deployer.secret
}
description = "object({ name: string, access_key: string, secret_key: string }) ||| An AWS User with explicit privilege to deploy to the S3 bucket."
sensitive = true
}
output "lambda_name" {
value = aws_lambda_function.this.function_name
description = "string ||| Lambda Function Name"
}
output "lambda_arn" {
value = aws_lambda_function.this.arn
description = "string ||| Lambda Function ARN"
}
output "log_provider" {
value = "cloudwatch"
description = "string ||| All logs are emitted to 'cloudwatch'."
}
output "log_group_name" {
value = module.logs.name
description = "string ||| The name of the cloudwatch log group containing application logs."
}
output "log_reader" {
value = module.logs.reader
description = "object({ name: string, access_key: string, secret_key: string }) ||| An AWS User with explicit privilege to read logs from Cloudwatch."
sensitive = true
}
output "metrics_provider" {
value = "cloudwatch"
description = "string ||| "
}
output "metrics_reader" {
value = module.logs.reader
description = "object({ name: string, access_key: string, secret_key: string }) ||| An AWS User with explicit privilege to read metrics from Cloudwatch."
sensitive = true
}
output "metrics_mappings" {
value = local.metrics_mappings
}
output "artifact_source" {
value = "docker"
description = "string ||| This module pulls its source as a docker image from ECR."
}
output "image_repo_name" {
value = aws_ecr_repository.this.name
description = "string ||| The name of the docker image for the application."
}
output "image_repo_url" {
value = aws_ecr_repository.this.repository_url
description = "string ||| The URL for the docker image repository for the application."
}
output "image_pusher" {
value = {
name = aws_iam_user.image_pusher.name
access_key = aws_iam_access_key.image_pusher.id
secret_key = aws_iam_access_key.image_pusher.secret
}
description = "object({ name: string, access_key: string, secret_key: string }) ||| An AWS User with explicit privilege to push images."
sensitive = true
}
output "private_urls" {
value = local.private_urls
description = "list(string) ||| A list of URLs only accessible inside the network"
}
output "public_urls" {
value = local.public_urls
description = "list(string) ||| A list of URLs accessible to the public"
}