update-2023-10-24

This commit is contained in:
ByeonJungHun
2023-10-24 15:33:16 +09:00
parent a1fd02ac26
commit 6e75612e4f
8 changed files with 202 additions and 195 deletions

23
terraform/ncp_acg.tf Normal file
View 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"
}
}