Terraform module which creates security groups and associated rules resources on Flexible Engine.
Name | Description | Type | Default | Required |
---|---|---|---|---|
create_self_ingress_rule | Wheter or not create default self ingress rules (allow all protocols from this group) | string | "true" |
no |
delete_default_egress_rules | Wheter or not create default egress rules (allow all protocols to any destination) | string | "false" |
no |
description | The security group description | string | "Security Group managed by Terraform" |
no |
egress_with_source_cidr | List of egress rules to create where a CIDR is remote | list(object({from_port=number,to_port=number,protocol=string,ethertype=string,destination_cidr=string})) | <list> |
no |
egress_with_source_security_group_id | List of egress rules to create where a security group is remote | list(object({from_port=number,to_port=number,protocol=string,ethertype=string,destination_security_group_id=string})) | <list> |
no |
ingress_with_source_cidr | List of ingress rules to create where a CIDR is remote | list(object({from_port=number,to_port=number,protocol=string,ethertype=string,source_cidr=string})) | <list> |
no |
ingress_with_source_security_group_id | List of ingress rules to create where a security group is remote | list(object({from_port=number,to_port=number,protocol=string,ethertype=string,source_security_group_id=string})) | <list> |
no |
name | The security group name (will be prefixed with sg- ) |
string | n/a | yes |
Name | Description |
---|---|
id | The ID of the security group |
name | The name of the security group |