Skip to content

terraform-navercloudplatform-modules/terraform-ncloud-access-control-group-rule-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
ncloud n/a

Modules

No modules.

Resources

Name Type
ncloud_access_control_group_rule.access_control_group_rule resource

Inputs

Name Description Type Default Required
access_control_group_no (Required) The ID of the ACG. string n/a yes
inbound (Optional) Specifies an Inbound(ingress) rules. Parameters defined below.
- protocol - (Required) Select between TCP, UDP, and ICMP. Accepted values: TCP | UDP | ICMP
- ip_block - (Optional) The CIDR block to match. This must be a valid network mask. Cannot be specified with source_access_control_group_no.
- source_access_control_group_no - (Optional) The ID of specific ACG to apply this rule to. Cannot be specified with ip_block.
- port_range - (Optional) Range of ports to apply. You can enter from 1 to 65535. e.g. set single port: 22 or set range port : 8000-9000
- description - (Optional) description to create.
list(object({
protocol = string
ip_block = optional(string)
source_access_control_group_no = optional(string)
port_range = string
description = optional(string)
}))
[] no
outbound (Optional) Specifies an Outboud(egrress) rules. Parameters defined below.
- protocol - (Required) Select between TCP, UDP, and ICMP. Accepted values: TCP | UDP | ICMP
- ip_block - (Optional) The CIDR block to match. This must be a valid network mask. Cannot be specified with source_access_control_group_no.
- source_access_control_group_no - (Optional) The ID of specific ACG to apply this rule to. Cannot be specified with ip_block.
- port_range - (Optional) Range of ports to apply. You can enter from 1 to 65535. e.g. set single port: 22 or set range port : 8000-9000
- description - (Optional) description to create.
list(object({
protocol = string
ip_block = optional(string)
source_access_control_group_no = optional(string)
port_range = string
description = optional(string)
}))
[] no

Outputs

Name Description
id The ID of ACG(Access Control Group) rule