terraform script add
This commit is contained in:
428
terraform/terraform.tfstate
Normal file
428
terraform/terraform.tfstate
Normal file
@@ -0,0 +1,428 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.4.6",
|
||||
"serial": 253,
|
||||
"lineage": "cbcad2ae-0d6e-3dd6-8d21-54b24fd937e0",
|
||||
"outputs": {},
|
||||
"resources": [
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_nat_gateway",
|
||||
"name": "jh-test-ncloud-netgw",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"description": "",
|
||||
"id": "20106584",
|
||||
"name": "jh-test-ncloud-netgw",
|
||||
"nat_gateway_no": "20106584",
|
||||
"private_ip": "10.40.30.6",
|
||||
"public_ip": "223.130.131.167",
|
||||
"public_ip_no": "20106586",
|
||||
"subnet_name": "natgateway-subnet",
|
||||
"subnet_no": "109067",
|
||||
"vpc_no": "48720",
|
||||
"zone": "KR-2"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_subnet.natgateway_subnet",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_network_acl",
|
||||
"name": "jh-test-ncloud-acl",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"description": "",
|
||||
"id": "74573",
|
||||
"is_default": false,
|
||||
"name": "jh-test-ncloud-acl",
|
||||
"network_acl_no": "74573",
|
||||
"vpc_no": "48720"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_network_acl_rule",
|
||||
"name": "jh-test-ncloud-acl-list",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "74573",
|
||||
"inbound": [
|
||||
{
|
||||
"deny_allow_group_no": "",
|
||||
"description": "",
|
||||
"ip_block": "0.0.0.0/0",
|
||||
"port_range": "443",
|
||||
"priority": 1,
|
||||
"protocol": "TCP",
|
||||
"rule_action": "ALLOW"
|
||||
},
|
||||
{
|
||||
"deny_allow_group_no": "",
|
||||
"description": "",
|
||||
"ip_block": "118.223.123.161/32",
|
||||
"port_range": "22",
|
||||
"priority": 0,
|
||||
"protocol": "TCP",
|
||||
"rule_action": "ALLOW"
|
||||
}
|
||||
],
|
||||
"network_acl_no": "74573",
|
||||
"outbound": [
|
||||
{
|
||||
"deny_allow_group_no": "",
|
||||
"description": "",
|
||||
"ip_block": "0.0.0.0/0",
|
||||
"port_range": "1-65535",
|
||||
"priority": 0,
|
||||
"protocol": "TCP",
|
||||
"rule_action": "ALLOW"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route",
|
||||
"name": "jh-test-ncloud-route-gw",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"destination_cidr_block": "0.0.0.0/0",
|
||||
"id": "route-1215077076",
|
||||
"is_default": false,
|
||||
"route_table_no": "102803",
|
||||
"target_name": "jh-test-ncloud-netgw",
|
||||
"target_no": "20106584",
|
||||
"target_type": "NATGW",
|
||||
"vpc_no": "48720"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_nat_gateway.jh-test-ncloud-netgw",
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_route_table.jh-test-ncloud-rt-private",
|
||||
"ncloud_subnet.natgateway_subnet",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table",
|
||||
"name": "jh-test-ncloud-rt-private",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"description": "",
|
||||
"id": "102803",
|
||||
"is_default": false,
|
||||
"name": "jh-test-cloud-rt-private",
|
||||
"route_table_no": "102803",
|
||||
"supported_subnet_type": "PRIVATE",
|
||||
"vpc_no": "48720"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table",
|
||||
"name": "jh-test-ncloud-rt-public",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"description": "",
|
||||
"id": "102802",
|
||||
"is_default": false,
|
||||
"name": "jh-test-cloud-rt-public",
|
||||
"route_table_no": "102802",
|
||||
"supported_subnet_type": "PUBLIC",
|
||||
"vpc_no": "48720"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table_association",
|
||||
"name": "jh-test-ncloud-route-ass-lb",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "102803:109065",
|
||||
"route_table_no": "102803",
|
||||
"subnet_no": "109065"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_route_table.jh-test-ncloud-rt-private",
|
||||
"ncloud_subnet.loadbalancer_subnet",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table_association",
|
||||
"name": "jh-test-ncloud-route-ass-natgw",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "102802:109067",
|
||||
"route_table_no": "102802",
|
||||
"subnet_no": "109067"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_route_table.jh-test-ncloud-rt-public",
|
||||
"ncloud_subnet.natgateway_subnet",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table_association",
|
||||
"name": "jh-test-ncloud-route-ass-private",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "102803:109068",
|
||||
"route_table_no": "102803",
|
||||
"subnet_no": "109068"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_route_table.jh-test-ncloud-rt-private",
|
||||
"ncloud_subnet.jh-test-ncloud-subnet",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_route_table_association",
|
||||
"name": "jh-test-ncloud-route-ass-public",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "102802:109066",
|
||||
"route_table_no": "102802",
|
||||
"subnet_no": "109066"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_route_table.jh-test-ncloud-rt-public",
|
||||
"ncloud_subnet.jh-test-ncloud-subnet-public",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_subnet",
|
||||
"name": "jh-test-ncloud-subnet",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "109068",
|
||||
"name": "private-subnet",
|
||||
"network_acl_no": "74573",
|
||||
"subnet": "10.40.10.0/24",
|
||||
"subnet_no": "109068",
|
||||
"subnet_type": "PRIVATE",
|
||||
"usage_type": "GEN",
|
||||
"vpc_no": "48720",
|
||||
"zone": "KR-2"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_subnet",
|
||||
"name": "jh-test-ncloud-subnet-public",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "109066",
|
||||
"name": "public-subnet",
|
||||
"network_acl_no": "74573",
|
||||
"subnet": "10.40.20.0/24",
|
||||
"subnet_no": "109066",
|
||||
"subnet_type": "PUBLIC",
|
||||
"usage_type": "GEN",
|
||||
"vpc_no": "48720",
|
||||
"zone": "KR-2"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_subnet",
|
||||
"name": "loadbalancer_subnet",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "109065",
|
||||
"name": "loadbalancer-subnet",
|
||||
"network_acl_no": "74573",
|
||||
"subnet": "10.40.40.0/24",
|
||||
"subnet_no": "109065",
|
||||
"subnet_type": "PRIVATE",
|
||||
"usage_type": "LOADB",
|
||||
"vpc_no": "48720",
|
||||
"zone": "KR-2"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_subnet",
|
||||
"name": "natgateway_subnet",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"id": "109067",
|
||||
"name": "natgateway-subnet",
|
||||
"network_acl_no": "74573",
|
||||
"subnet": "10.40.30.0/24",
|
||||
"subnet_no": "109067",
|
||||
"subnet_type": "PUBLIC",
|
||||
"usage_type": "NATGW",
|
||||
"vpc_no": "48720",
|
||||
"zone": "KR-2"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA==",
|
||||
"dependencies": [
|
||||
"ncloud_network_acl.jh-test-ncloud-acl",
|
||||
"ncloud_vpc.jh-test-ncloud-vpc"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "ncloud_vpc",
|
||||
"name": "jh-test-ncloud-vpc",
|
||||
"provider": "provider[\"registry.terraform.io/navercloudplatform/ncloud\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 0,
|
||||
"attributes": {
|
||||
"default_access_control_group_no": "135939",
|
||||
"default_network_acl_no": "74572",
|
||||
"default_private_route_table_no": "102801",
|
||||
"default_public_route_table_no": "102800",
|
||||
"id": "48720",
|
||||
"ipv4_cidr_block": "10.40.0.0/16",
|
||||
"name": "jh-test-cidr",
|
||||
"vpc_no": "48720"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "bnVsbA=="
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"check_results": null
|
||||
}
|
||||
Reference in New Issue
Block a user