Documentation ¶
Index ¶
Constants ¶
View Source
const AwsDefaultSecurityGroupResourceName = "aws_default_security_group"
View Source
const AwsSecurityGroupResourceName = "aws_security_group"
View Source
const AzureNetworkSecurityGroupResourceName = "azurerm_network_security_group"
View Source
const AzureNicNsgAssociation = "azurerm_network_interface_security_group_association"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsAcl ¶
type AwsAcl struct { *common.AwsResource `hcl:",squash"` VpcId string `hcl:"vpc_id,expr"` SubnetIds []string `hcl:"subnet_ids,expr"` Ingress []AwsAclRule `hcl:"ingress"` Egress []AwsAclRule `hcl:"egress"` }
type AwsAclRule ¶
type AwsDefaultAcl ¶
type AwsDefaultAcl struct { *common.AwsResource `hcl:",squash"` DefaultNetworkAclId string `hcl:"default_network_acl_id,expr"` Ingress []AwsAclRule `hcl:"ingress"` Egress []AwsAclRule `hcl:"egress"` }
type AwsDefaultSecurityGroup ¶
type AwsDefaultSecurityGroup struct { *common.AwsResource `hcl:",squash" default:"name=aws_default_security_group"` VpcId string `hcl:"vpc_id,expr"` Ingress []AwsSecurityGroupRule `hcl:"ingress,blocks"` Egress []AwsSecurityGroupRule `hcl:"egress,blocks"` }
type AwsSecurityGroup ¶
type AwsSecurityGroup struct { *common.AwsResource `hcl:",squash" default:"name=aws_security_group"` VpcId string `hcl:"vpc_id,expr"` Name string `hcl:"name"` Description string `hcl:"description"` Ingress []AwsSecurityGroupRule `hcl:"ingress,blocks"` Egress []AwsSecurityGroupRule `hcl:"egress,blocks"` }
type AwsSecurityGroupRule ¶
type AzureNetworkInterfaceSecurityGroupAssociation ¶
type AzureNetworkInterfaceSecurityGroupAssociation struct { *common.AzResource `hcl:",squash" default:"name=azurerm_network_interface_security_group_association"` NetworkInterfaceId string `hcl:"network_interface_id,expr"` NetworkSecurityGroupId string `hcl:"network_security_group_id,expr"` }
type AzureNetworkSecurityGroup ¶
type AzureNetworkSecurityGroup struct { Nsg AzureNsg `hcl:"resource"` SubnetNsgAssociation AzureSubnetNsgAssociation `hcl:"resource"` }
type AzureNsg ¶
type AzureNsg struct { *common.AzResource `hcl:",squash" default:"name=azurerm_network_security_group"` Rules []AzureRule `hcl:"security_rule,blocks"` }
type AzureRule ¶
type AzureRule struct { Name string `hcl:"name"` Protocol string `hcl:"protocol"` Priority int `hcl:"priority"` Access string `hcl:"access"` SourcePortRange string `hcl:"source_port_range"` SourceAddressPrefix string `hcl:"source_address_prefix"` DestinationPortRange string `hcl:"destination_port_range"` DestinationAddressPrefix string `hcl:"destination_address_prefix"` Direction string `hcl:"direction"` }
Click to show internal directories.
Click to hide internal directories.