forked from clouddrove/terraform-aws-security-group
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
19 lines (16 loc) · 795 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
output "prefix_list_id" {
value = var.enable && var.prefix_list_enabled && length(var.prefix_list_ids) < 1 ? aws_ec2_managed_prefix_list.prefix_list[0].id : null
description = "The ID of the prefix list."
}
output "security_group_id" {
value = var.new_sg && var.enable ? aws_security_group.default[0].id : null
description = "IDs on the AWS Security Groups associated with the instance."
}
output "security_group_arn" {
value = var.new_sg && var.enable ? aws_security_group.default[0].arn : null
description = "IDs on the AWS Security Groups associated with the instance."
}
output "security_group_tags" {
value = var.new_sg && var.enable ? aws_security_group.default[0].tags : null
description = "A mapping of public tags to assign to the resource."
}