-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathoutputs.tf
More file actions
60 lines (51 loc) · 1.8 KB
/
outputs.tf
File metadata and controls
60 lines (51 loc) · 1.8 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
output "iam_group_name" {
description = "Name of the IAM group for the app. Pass to email-receiving modules so they can attach their own policies."
value = aws_iam_group.this.name
}
output "s3_bucket_name" {
description = "Name of the uploads S3 bucket."
value = aws_s3_bucket.uploads.bucket
}
output "s3_bucket_arn" {
description = "ARN of the uploads S3 bucket."
value = aws_s3_bucket.uploads.arn
}
output "sqs_queue_urls" {
description = "Map of queue name to SQS URL."
value = {
default = aws_sqs_queue.default.url
mailers = aws_sqs_queue.mailers.url
ahoy = aws_sqs_queue.ahoy.url
dead_letter = aws_sqs_queue.dead_letter.url
}
}
output "sqs_queue_arns" {
description = "Map of queue name to SQS ARN."
value = {
default = aws_sqs_queue.default.arn
mailers = aws_sqs_queue.mailers.arn
ahoy = aws_sqs_queue.ahoy.arn
dead_letter = aws_sqs_queue.dead_letter.arn
}
}
output "alarm_sns_topic_arn" {
description = "ARN of the SNS topic that receives CloudWatch alarm notifications."
value = aws_sns_topic.alarms.arn
}
output "iam_access_key_id" {
description = "AWS access key ID for the app IAM user."
value = aws_iam_access_key.this.id
}
output "iam_access_key_secret" {
description = "AWS secret access key for the app IAM user."
value = aws_iam_access_key.this.secret
sensitive = true
}
output "chamber_service" {
description = "Value to set as CHAMBER_SERVICE in the app's environment. Chamber will load all SSM parameters under this path prefix at boot."
value = var.name
}
output "ssm_path_prefix" {
description = "SSM Parameter Store path prefix where app secrets are stored (e.g. for use with aws ssm put-parameter for manually-managed secrets)."
value = "/${var.name}"
}