update-2023-10-24
This commit is contained in:
23
terraform/ncp_acg.tf
Normal file
23
terraform/ncp_acg.tf
Normal file
@@ -0,0 +1,23 @@
|
||||
resource "ncloud_access_control_group" "exem-dsk-acg" {
|
||||
name = "exem-dsk-acg"
|
||||
vpc_no = ncloud_vpc.jh-test-ncloud-vpc.id
|
||||
}
|
||||
|
||||
resource "ncloud_access_control_group_rule" "exem-dsk-acg-rule" {
|
||||
access_control_group_no = ncloud_access_control_group.exem-dsk-acg.id
|
||||
|
||||
inbound {
|
||||
protocol = "TCP"
|
||||
ip_block = "10.40.0.0/16"
|
||||
port_range = "1-65535"
|
||||
description = "all inbound"
|
||||
}
|
||||
|
||||
outbound {
|
||||
protocol = "TCP"
|
||||
ip_block = "0.0.0.0/0"
|
||||
port_range = "1-65535"
|
||||
description = "all outbound"
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user