-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathoutputs.tf
More file actions
62 lines (54 loc) · 2.25 KB
/
outputs.tf
File metadata and controls
62 lines (54 loc) · 2.25 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
output "region" {
description = "The AWS region this module resources resides in."
value = aws_route53_resolver_query_log_config.this.region
}
output "id" {
description = "The ID of the Route 53 Resolver query logging configuration."
value = aws_route53_resolver_query_log_config.this.id
}
output "arn" {
description = "The ARN of the Route 53 Resolver query logging configuration."
value = aws_route53_resolver_query_log_config.this.arn
}
output "owner_id" {
description = "The AWS Account ID the account that created the query logging configuration."
value = aws_route53_resolver_query_log_config.this.owner_id
}
output "name" {
description = "The name of the Route 53 Resolver query logging configuration."
value = aws_route53_resolver_query_log_config.this.name
}
output "vpc_associations" {
description = "A list of associated VPC IDs to query logging configuration."
value = keys(aws_route53_resolver_query_log_config_association.this)
}
output "destination" {
description = "The ARN of the resource that Route 53 Resolver send query logs. This can be S3 bucket, CloudWatch Logs log group, or Kinesis Data Firehose delivery stream."
value = aws_route53_resolver_query_log_config.this.destination_arn
}
output "resource_group" {
description = "The resource group created to manage resources in this module."
value = merge(
{
enabled = var.resource_group.enabled && var.module_tags_enabled
},
(var.resource_group.enabled && var.module_tags_enabled
? {
arn = module.resource_group[0].arn
name = module.resource_group[0].name
}
: {}
)
)
}
output "sharing" {
description = <<EOF
The configuration for sharing of the Route53 Resolver query logging configuration.
`status` - An indication of whether the query logging configuration is shared with other AWS accounts, or was shared with the current account by another AWS account. Sharing is configured through AWS Resource Access Manager (AWS RAM). Values are `NOT_SHARED`, `SHARED_BY_ME` or `SHARED_WITH_ME`.
`shares` - The list of resource shares via RAM (Resource Access Manager).
EOF
value = {
status = aws_route53_resolver_query_log_config.this.share_status
shares = module.share
}
}