이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. ().
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Metadata

Id: terraform-nifcloud-nas-instance-has-common-private

Provider: Nifcloud

Platform: Terraform

Severity: Low

Category: Networking and Firewall

Learn More

Description

The NAS instance uses the shared private network net-COMMON_PRIVATE rather than an isolated private LAN. nifcloud_nas_instance resources should use a dedicated private LAN to isolate the private-side network from the shared network. This rule flags nifcloud_nas_instance resources that reference net-COMMON_PRIVATE.

Compliant Code Examples

resource "nifcloud_nas_instance" "negative" {
  identifier        = "nas001"
  allocated_storage = 100
  protocol          = "nfs"
  type              = 0
  network_id        = nifcloud_private_lan.main.id
}

Non-Compliant Code Examples

resource "nifcloud_nas_instance" "positive" {
  identifier        = "nas001"
  allocated_storage = 100
  protocol          = "nfs"
  type              = 0
  network_id        = "net-COMMON_PRIVATE"
}