This product is not supported for your selected Datadog site. ().
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください

Metadata

Id: 9bf57c23-fbab-4222-85f3-3f207a53c6a8

Cloud Provider: Nifcloud

Platform: Terraform

Severity: Low

Category: Networking and Firewall

Learn More

Description

nifcloud_db_instance is configured to use the common private LAN net-COMMON_PRIVATE. The resource’s network_id should be a private LAN that isolates the private-side network from the shared network. This rule identifies nifcloud_db_instance resources that are using the common private network.

Compliant Code Examples

resource "nifcloud_db_instance" "negative" {
  identifier     = "example"
  instance_class = "db.large8"
  network_id     = nifcloud_private_lan.main.id
}

Non-Compliant Code Examples

resource "nifcloud_db_instance" "positive" {
  identifier     = "example"
  instance_class = "db.large8"
  network_id     = "net-COMMON_PRIVATE"
}