2024-04-11 21:50:55 +00:00
|
|
|
output "name" {
|
|
|
|
value = openstack_networking_secgroup_v2.this.name
|
2024-10-03 18:56:18 +00:00
|
|
|
sensitive = false
|
2024-04-11 21:50:55 +00:00
|
|
|
description = "The name of the security group"
|
2024-10-03 18:56:18 +00:00
|
|
|
depends_on = []
|
2024-04-11 21:50:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
output "id" {
|
|
|
|
value = openstack_networking_secgroup_v2.this.id
|
2024-10-03 18:56:18 +00:00
|
|
|
sensitive = false
|
2024-04-11 21:50:55 +00:00
|
|
|
description = "The id of the security group"
|
2024-10-03 18:56:18 +00:00
|
|
|
depends_on = []
|
|
|
|
}
|
|
|
|
|
|
|
|
output "sg_raw" {
|
|
|
|
value = openstack_networking_secgroup_v2.this
|
|
|
|
sensitive = false
|
|
|
|
description = "The raw security group object, with all its values"
|
|
|
|
depends_on = []
|
|
|
|
}
|
|
|
|
|
|
|
|
output "sg_ingress_rules_raw" {
|
|
|
|
value = length(openstack_networking_secgroup_rule_v2.ingress) > 0 ? openstack_networking_secgroup_rule_v2.ingress : null
|
|
|
|
sensitive = false
|
|
|
|
description = "The raw security group ingress rules, if any"
|
|
|
|
depends_on = []
|
|
|
|
}
|
|
|
|
|
|
|
|
output "sg_egress_rules_raw" {
|
|
|
|
value = length(openstack_networking_secgroup_rule_v2.egress) > 0 ? openstack_networking_secgroup_rule_v2.egress : null
|
|
|
|
sensitive = false
|
|
|
|
description = "The raw security group egress rules, if any (except the default ones, if created)"
|
|
|
|
depends_on = []
|
2024-04-11 21:50:55 +00:00
|
|
|
}
|