Terraform module to deploy a Neutron security-group in a given project.
https://ednz.fr
Gitea-Actions
6760b588f1
All checks were successful
build-deploy / Bump version and create changelog with commitizen (push) Has been skipped
|
||
---|---|---|
.gitea/workflows | ||
tests | ||
.cz.toml | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.terraform.lock.hcl | ||
CHANGELOG.md | ||
LICENSE | ||
main.tf | ||
outputs.tf | ||
README.md | ||
renovate.json | ||
variables.tf |
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 |
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 |
sg_egress_rules_raw | The raw security group egress rules, if any (except the default ones, if created) |
sg_ingress_rules_raw | The raw security group ingress rules, if any |
sg_raw | The raw security group object, with all its values |