security-group
alibaba/security-group/alicloud
Terraform module which creates Security Group and sets rules for it on Alibaba Cloud.
Alicloud ECS Security Group Terraform Module In VPC terraform-alicloud-security-group ================================================================================ English | 简体中文 Terraform module which creates ECS security group within VPC on Alibaba Cloud. These types of resources are supported: ECS-VPC Security Group ECS-VPC Security Group Rule Features This module aims to implement ALL combinations of arguments supported by Alibaba Cloud and latest stable version of Terraform: IPv4 CIDR blocks Access from source security groups Named rules (see the rules here) Named groups of rules with ingress (inbound) and egress (outbound) ports open for common scenarios (eg, ssh, http-80, mysql, see the whole list here) * Conditionally create security group and all required security group rules (
| Name | Type | Description | Default |
|---|---|---|---|
| ingress_ports | list(number) | The port list used on `ingress_with_cidr_blocks_and_ports` ports rules. | [] |
| egress_with_cidr_blocks_and_ports | list(map(string)) | List of egress rules to create where `cidr_blocks` and `ports` is used. The vali | [] |
| existing_group_id | string | ID of existing security group. It will be ignored when create = true. | "" |
| egress_ports | list(number) | The port list used on `egress_with_cidr_blocks_and_ports` ports rules. | [] |
| group_name | string | (Deprecated) It has been deprecated from 2.0.0 and use 'name' instead. | "" |
| priority | number | (Deprecated) It has been deprecated from 2.0.0, and use `default_ingress_priorit | 1 |
| ingress_with_ports | list(number) | (Deprecated) It has been deprecated from 2.1.0 and `ingress_ports` instead. The | [] |
| protocol_for_ingress_with_ports | string | (Deprecated) It has been deprecated from 2.1.0 and `ingress_with_cidr_blocks_and | "tcp" |
| tags | map(string) | A mapping of tags to assign to security group | {} |
| shared_credentials_file | string | (Deprecated from version 2.4.0) This is the path to the shared credentials file. | "" |
| egress_cidr_blocks | list(string) | The IPv4 CIDR ranges list to use on egress cidrs rules. | [] |
| egress_with_source_security_group_id | list(map(string)) | List of egress rules to create where 'source_security_group_id' is used | [] |
| vpc_cidr | string | (Deprecated) It has been deprecated from 2.0.0. | "" |
| egress_with_ports | list(number) | (Deprecated) It has been deprecated from 2.1.0 and `egress_ports` instead. The p | [] |
| region | string | (Deprecated from version 2.4.0) The region used to launch this module resources. | "" |
| create | bool | Whether to create security group. If false, you can specify an existing security | true |
| ingress_cidr_blocks | list(string) | The IPv4 CIDR ranges list to use on ingress cidrs rules. | [] |
| default_egress_priority | number | A default egress priority. | 50 |
| egress_with_cidr_block | list(map(string)) | (Deprecated) It has been deprecated from 2.1.0 and `egress_with_cidr_blocks` ins | [] |
| egress_with_cidr_blocks | list(map(string)) | List of egress rules to create where 'cidr_blocks' is used. The valid keys conta | [] |
| … and 7 more inputs | |||
this_security_group_vpc_id — The VPC IDthis_security_group_name — The name of the security groupthis_security_group_description — The description of the security groupthis_security_group_id — The ID of the security group