1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
output "id" {
description = "CloudTrail trail ID (name)"
value = aws_cloudtrail.this.id
}
output "arn" {
description = "CloudTrail trail ARN"
value = aws_cloudtrail.this.arn
}
output "home_region" {
description = "Region in which the trail was created"
value = aws_cloudtrail.this.home_region
}
output "cloudwatch_log_group_arn" {
description = "ARN of the CloudWatch log group receiving trail events"
value = aws_cloudwatch_log_group.this.arn
}
output "cloudwatch_role_arn" {
description = "ARN of the IAM role used for CloudWatch Logs delivery"
value = aws_iam_role.cloudtrail_cw.arn
}
|