security-group

alibaba/security-group/alicloud

Terraform Module HCL ALICLOUD

Terraform module which creates Security Group and sets rules for it on Alibaba Cloud.

Install
module "security-group" {
source = "alibaba/security-group/alicloud"
version = "2.4.1"
}
plain text: /constructs/tfmod-alibaba-security-group-alicloud/install.txt
⭐ Source on GitHub 📦 Registry page
README

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 (

Inputs (47)
NameTypeDescriptionDefault
ingress_portslist(number)The port list used on `ingress_with_cidr_blocks_and_ports` ports rules.[]
egress_with_cidr_blocks_and_portslist(map(string))List of egress rules to create where `cidr_blocks` and `ports` is used. The vali[]
existing_group_idstringID of existing security group. It will be ignored when create = true.""
egress_portslist(number)The port list used on `egress_with_cidr_blocks_and_ports` ports rules.[]
group_namestring(Deprecated) It has been deprecated from 2.0.0 and use 'name' instead.""
prioritynumber(Deprecated) It has been deprecated from 2.0.0, and use `default_ingress_priorit1
ingress_with_portslist(number)(Deprecated) It has been deprecated from 2.1.0 and `ingress_ports` instead. The []
protocol_for_ingress_with_portsstring(Deprecated) It has been deprecated from 2.1.0 and `ingress_with_cidr_blocks_and"tcp"
tagsmap(string)A mapping of tags to assign to security group{}
shared_credentials_filestring(Deprecated from version 2.4.0) This is the path to the shared credentials file.""
egress_cidr_blockslist(string)The IPv4 CIDR ranges list to use on egress cidrs rules.[]
egress_with_source_security_group_idlist(map(string))List of egress rules to create where 'source_security_group_id' is used[]
vpc_cidrstring(Deprecated) It has been deprecated from 2.0.0.""
egress_with_portslist(number)(Deprecated) It has been deprecated from 2.1.0 and `egress_ports` instead. The p[]
regionstring(Deprecated from version 2.4.0) The region used to launch this module resources.""
createboolWhether to create security group. If false, you can specify an existing securitytrue
ingress_cidr_blockslist(string)The IPv4 CIDR ranges list to use on ingress cidrs rules.[]
default_egress_prioritynumberA default egress priority.50
egress_with_cidr_blocklist(map(string))(Deprecated) It has been deprecated from 2.1.0 and `egress_with_cidr_blocks` ins[]
egress_with_cidr_blockslist(map(string))List of egress rules to create where 'cidr_blocks' is used. The valid keys conta[]
… and 7 more inputs
Outputs (4)
this_security_group_vpc_id — The VPC ID
this_security_group_name — The name of the security group
this_security_group_description — The description of the security group
this_security_group_id — The ID of the security group
Resources (3)
alicloud_security_groupalicloud_security_group_rulerandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version2.4.1
Cloud ALICLOUD
★ Stars12
Forks27
Total downloads115.1k
Inputs47
Outputs4
Resources3
Examples7
Submodules36
LicenseMIT
Namespacealibaba
Updated