page_title | subcategory | description |
---|---|---|
cloudavenue_edgegateway_security_group Resource - cloudavenue |
Edge Gateway (Tier-1) |
The Security Group resource allows you to manage an security group in an Edge Gateway. Security Groups are groups of data center group networks to which distributed firewall rules apply. Grouping networks helps you to reduce the total number of distributed firewall rules to be created. |
The Security Group resource allows you to manage an security group in an Edge Gateway. Security Groups are groups of data center group networks to which distributed firewall rules apply. Grouping networks helps you to reduce the total number of distributed firewall rules to be created.
resource "cloudavenue_edgegateway_security_group" "example" {
edge_gateway_id = data.cloudavenue_edgegateways.example.edge_gateways[0].id
name = "example"
description = "This is an example security group"
member_org_network_ids = [
cloudavenue_network_routed.example.id
]
}
data "cloudavenue_edgegateways" "example" {}
resource "cloudavenue_network_routed" "example" {
name = "MyOrgNet"
description = "This is an example Net"
edge_gateway_id = data.cloudavenue_edgegateways.example.edge_gateways[0].id
gateway = "192.168.1.254"
prefix_length = 24
dns1 = "1.1.1.1"
dns2 = "8.8.8.8"
dns_suffix = "example"
static_ip_pool = [
{
start_address = "192.168.1.10"
end_address = "192.168.1.20"
}
]
}
name
(String) The name of the security group.
description
(String) The description of the security group.edge_gateway_id
(String) (ForceNew) The ID of the Edge Gateway. Ensure that one and only one attribute from this collection is set :edge_gateway_name
,edge_gateway_id
.edge_gateway_name
(String) (ForceNew) The name of the Edge Gateway. Ensure that one and only one attribute from this collection is set :edge_gateway_name
,edge_gateway_id
.member_org_network_ids
(Set of String) The list of organization network IDs to which the security group is applied. Element value must satisfy all validations: must be a valid URN.
id
(String) The ID of the Security Group.
Import is supported using the following syntax:
terraform import cloudavenue_edgegateway_security_group.example edgeGatewayIDOrName.securityGroupIDOrName