Skip to main content
Version: v1.7

Alibaba Cloud SECURITY-GROUP

Description

Terraform configuration for Alicloud SecurityGroup.

Specification

NameDescriptionTypeRequiredDefault
cidr_ipcidr blocks used to create a new security group rule.stringfalse
descriptionThe description of the security group rule.stringfalse
nameThe name of the security group rule.stringfalse
port_rangeThe port range of the security group rule.stringfalse
writeConnectionSecretToRefThe secret which the cloud resource connection will be written to.writeConnectionSecretToReffalse
zone_idAvailability Zone ID.stringfalse

writeConnectionSecretToRef

NameDescriptionTypeRequiredDefault
nameThe secret name which the cloud resource connection will be written to.stringtrue
namespaceThe secret namespace which the cloud resource connection will be written to.stringfalse

Outputs

If writeConnectionSecretToRef is set, a secret will be generated with these keys as below:

NameDescription
SECURITY_GROUP_IDSecurity Group ID
VPC_IDVPC ID
VSWITCH_IDVSwitch ID