-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
47 lines (38 loc) · 1.79 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
################################################################################
# AWS cloud map namespace
################################################################################
output "namespace_id" {
description = "The ID of the cloud map namespace"
value = try(aws_service_discovery_private_dns_namespace.this[0].id, null)
}
output "namespace_arn" {
description = "The ARN of the cloud map namespace"
value = try(aws_service_discovery_private_dns_namespace.this[0].arn, null)
}
output "namespace_hosted_zone" {
description = "The ID for the hosted zone that AWS Route 53 creates when you create a namespace"
value = try(aws_service_discovery_private_dns_namespace.this[0].hosted_zone, null)
}
output "namespace_tags" {
description = "The tags of the cloud map namespace resource tags"
value = try(aws_service_discovery_private_dns_namespace.this[0].tags_all, null)
}
output "aws_cloud_map_iam_role_arn" {
description = "The ARN of the IAM role for vpc to use aws cloud map service"
value = try(aws_iam_role.aws_cloud_map_iam_role[0].arn, null)
}
################################################################################
# AWS cloud map service
################################################################################
output "namespace_service_id" {
description = "The ID of the namespace service"
value = try(aws_service_discovery_service.this[0].id, null)
}
output "namespace_service_arn" {
description = "The ARN of the namespace service"
value = try(aws_service_discovery_service.this[0].arn, null)
}
output "namespace_service_tags_all" {
description = "A map of tags assigned to the resource, including those inherited from the provider"
value = try(aws_service_discovery_service.this[0].tags_all, null)
}