Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ednz-cloud/terraform-openstack-security-group
Terraform module to deploy a Neutron security-group in a given project. Mirror from https://git.ednz.fr/terraform-registry/terraform-openstack-security-group.
https://github.com/ednz-cloud/terraform-openstack-security-group
neutron openstack security-group terraform terraform-module
Last synced: 9 days ago
JSON representation
Terraform module to deploy a Neutron security-group in a given project. Mirror from https://git.ednz.fr/terraform-registry/terraform-openstack-security-group.
- Host: GitHub
- URL: https://github.com/ednz-cloud/terraform-openstack-security-group
- Owner: ednz-cloud
- License: mit
- Created: 2024-04-09T18:14:01.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T20:39:15.000Z (3 months ago)
- Last Synced: 2024-08-20T00:12:25.045Z (3 months ago)
- Topics: neutron, openstack, security-group, terraform, terraform-module
- Language: HCL
- Homepage: https://ednz.fr
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-openstack-security-group
Terraform module to deploy a Neutron security-group in a given project.
### Requirements| Name | Version |
|------|---------|
| [terraform](#requirement_terraform) | >= 1.0.0 |
| [openstack](#requirement_openstack) | >= 1.54 |### Providers
| Name | Version |
|------|---------|
| [openstack](#provider_openstack) | >= 1.54 |### Modules
No modules.
### Resources
| Name | Type |
|------|------|
| [openstack_networking_secgroup_rule_v2.egress](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2) | resource |
| [openstack_networking_secgroup_rule_v2.ingress](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2) | resource |
| [openstack_networking_secgroup_v2.this](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_v2) | resource |### Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [delete_default_rules](#input_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](#input_description) | Description for the security group. | `string` | `null` | no |
| [egress_rules](#input_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](#input_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](#input_name) | The name of the security group. | `string` | n/a | yes |
| [tags](#input_tags) | A list of tags (strings) to apply to the security group | `list(string)` | `[]` | no |
| [tenant_id](#input_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](#output_id) | The id of the security group |
| [name](#output_name) | The name of the security group |### Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement_terraform) | >= 1.0.0 |
| [openstack](#requirement_openstack) | >= 1.54 |### Providers
| Name | Version |
|------|---------|
| [openstack](#provider_openstack) | >= 1.54 |### Modules
No modules.
### Resources
| Name | Type |
|------|------|
| [openstack_networking_secgroup_rule_v2.egress](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2) | resource |
| [openstack_networking_secgroup_rule_v2.ingress](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_rule_v2) | resource |
| [openstack_networking_secgroup_v2.this](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_secgroup_v2) | resource |### Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [delete_default_rules](#input_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](#input_description) | Description for the security group. | `string` | `null` | no |
| [egress_rules](#input_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](#input_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](#input_name) | The name of the security group. | `string` | n/a | yes |
| [tags](#input_tags) | A list of tags (strings) to apply to the security group | `list(string)` | `[]` | no |
| [tenant_id](#input_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](#output_id) | The id of the security group |
| [name](#output_name) | The name of the security group |
| [sg_egress_rules_raw](#output_sg_egress_rules_raw) | The raw security group egress rules, if any (except the default ones, if created) |
| [sg_ingress_rules_raw](#output_sg_ingress_rules_raw) | The raw security group ingress rules, if any |
| [sg_raw](#output_sg_raw) | The raw security group object, with all its values |