Terraform module to deploy a Neutron security-group in a given project. https://ednz.fr
Go to file
2024-08-19 22:39:10 +02:00
examples feat(variables): add initial files and start working on variables 2024-04-11 00:09:34 +02:00
modules feat(variables): add initial files and start working on variables 2024-04-11 00:09:34 +02:00
.pre-commit-config.yaml feat(variables): add initial files and start working on variables 2024-04-11 00:09:34 +02:00
LICENSE feat(variables): add initial files and start working on variables 2024-04-11 00:09:34 +02:00
main.tf feat: update provider requirement to be more flexible 2024-08-19 22:39:10 +02:00
outputs.tf feat(outputs): add simple outputs name and id 2024-04-11 23:50:55 +02:00
README.md feat: update provider requirement to be more flexible 2024-08-19 22:39:10 +02:00
variables.tf feat(variables): add default to allow empty ingress and egress blocks 2024-04-13 00:25:41 +02:00

terraform-openstack-security-group

Terraform module to deploy a Neutron security-group in a given project.

Requirements

Name Version
terraform >= 1.0.0
openstack >= 1.54

Providers

Name Version
openstack >= 1.54

Modules

No modules.

Resources

Name Type
openstack_networking_secgroup_rule_v2.egress resource
openstack_networking_secgroup_rule_v2.ingress resource
openstack_networking_secgroup_v2.this resource

Inputs

Name Description Type Default Required
delete_default_rules Whether or not to delete the default egress rules applied to the security group.
Default rules allow egress ipv4 and ipv6 to 0.0.0.0/0.
bool false no
description Description for the security group. string null no
egress_rules The list of egress rules to attach to the security group.
You can use all regular entries from the openstack_networking_secgroup_rule_v2 resource
provided by the openstack provider, except region, which defaults to the region of the provider used,
and direction, which defaults to egress.
By default, if ethertype is not specified, it will by IPv4.
map(map(string)) {} no
ingress_rules The list of ingress rules to attach to the security group.
You can use all regular entries from the openstack_networking_secgroup_rule_v2 resource
provided by the openstack provider, except region, which defaults to the region of the provider used,
and direction, which defaults to ingress.
By default, if ethertype is not specified, it will by IPv4.
map(map(string)) {} no
name The name of the security group. string n/a yes
tags A list of tags (strings) to apply to the security group list(string) [] no
tenant_id The tenant for which to create the security group.
This is only required for admins creating security groups for other tenant.
string null no

Outputs

Name Description
id The id of the security group
name The name of the security group