Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SSH_PORT int = 22 RDP_PORT int = 3389 SSH_TCP = IngressRules{Description: "SSH", FromPort: SSH_PORT, ToPort: SSH_PORT, Protocol: "tcp"} RDP_TCP = IngressRules{Description: "RDP", FromPort: RDP_PORT, ToPort: RDP_PORT, Protocol: "tcp"} )
Pick ideas from https://github.com/terraform-aws-modules/terraform-aws-security-group/blob/master/rules.tf
Functions ¶
This section is empty.
Types ¶
type IngressRules ¶
type SGRequest ¶
type SGRequest struct { Name string Description string IngressRules []IngressRules VPC *ec2.Vpc }
type SGResources ¶
type SGResources struct {
SG *ec2.SecurityGroup
}
Click to show internal directories.
Click to hide internal directories.