-
Notifications
You must be signed in to change notification settings - Fork 13
/
outputs.tf
34 lines (28 loc) · 1.04 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
output "instance_name" {
value = module.this.id
description = "The name tag value of the Bastion instance."
}
output "security_group_id" {
value = aws_security_group.default.id
description = "The ID of the SSM Agent Security Group."
}
output "launch_template_id" {
value = aws_launch_template.default.id
description = "The ID of the SSM Agent Launch Template."
}
output "autoscaling_group_id" {
value = aws_autoscaling_group.default.id
description = "The ID of the SSM Agent Autoscaling Group."
}
output "role_id" {
value = aws_iam_role.default.id
description = "The ID of the SSM Agent Role."
}
output "session_logging_bucket_id" {
value = local.logs_bucket_enabled ? join("", data.aws_s3_bucket.logs_bucket.*.id) : ""
description = "The ID of the SSM Agent Session Logging S3 Bucket."
}
output "session_logging_bucket_arn" {
value = local.logs_bucket_enabled ? join("", data.aws_s3_bucket.logs_bucket.*.arn) : ""
description = "The ARN of the SSM Agent Session Logging S3 Bucket."
}