-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
44 lines (40 loc) · 1.01 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
output "this_security_group_id" {
description = "The ID of the security group"
value = concat(
aws_security_group.this.*.id,
aws_security_group.this_name_prefix.*.id,
[""],
)[0]
}
output "this_security_group_vpc_id" {
description = "The VPC ID"
value = concat(
aws_security_group.this.*.vpc_id,
aws_security_group.this_name_prefix.*.vpc_id,
[""],
)[0]
}
output "this_security_group_owner_id" {
description = "The owner ID"
value = concat(
aws_security_group.this.*.owner_id,
aws_security_group.this_name_prefix.*.owner_id,
[""],
)[0]
}
output "this_security_group_name" {
description = "The name of the security group"
value = concat(
aws_security_group.this.*.name,
aws_security_group.this_name_prefix.*.name,
[""],
)[0]
}
output "this_security_group_description" {
description = "The description of the security group"
value = concat(
aws_security_group.this.*.description,
aws_security_group.this_name_prefix.*.description,
[""],
)[0]
}