Skip to main content
版本:v1.5

阿里云 SECURITY-GROUP

描述

Terraform configuration for Alicloud SecurityGroup。

参数说明

名称描述类型是否必须默认值
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

名称描述类型是否必须默认值
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

输出

如果设置了 writeConnectionSecretToRef,一个 Kubernetes Secret 将会被创建,并且,它的数据里有这些键(key):

名称描述
SECURITY_GROUP_IDSecurity Group ID
VPC_IDVPC ID
VSWITCH_IDVSwitch ID