3.3 KiB
3.3 KiB
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 |