generated from appvia/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
45 lines (36 loc) · 1.12 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
output "environment" {
description = "The environment name for the tenant"
value = var.environment
}
output "tags" {
description = "The tags to apply to all resources"
value = local.tags
}
output "private_hosted_zones_by_id" {
description = "A map of the hosted zone name to id"
value = local.private_hosted_zones_by_id
}
output "vpc_ids" {
description = "A map of the network name to vpc id"
value = local.vpc_id_by_network_name
}
output "networks" {
description = "A map of the network name to network details"
value = module.networks
}
output "account_id" {
description = "The account id where the pipeline is running"
value = data.aws_caller_identity.current.account_id
}
output "tenant_account_id" {
description = "The region of the tenant account"
value = data.aws_caller_identity.tenant.id
}
output "private_hosted_zones" {
description = "A map of the private hosted zones"
value = local.private_hosted_zones
}
output "sns_notification_arn" {
description = "The SNS topic ARN for notifications"
value = module.notifications.sns_topic_arn
}