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

Metadata

Id: terraform-nifcloud-vpn-gateway-security-group-undefined

Provider: Nifcloud

Platform: Terraform

Severity: High

Category: Networking and Firewall

Learn More

Description

VPN gateway is missing security_group. nifcloud_vpn_gateway resources should include a security_group attribute for security purposes. This rule detects nifcloud_vpn_gateway resources that do not include a security_group, which can leave the VPN gateway exposed or indicate an incomplete configuration.

Compliant Code Examples

resource "nifcloud_vpn_gateway" "negative" {
  security_group  = nifcloud_security_group.example.group_name

  network_interface {
    network_id = "net-COMMON_GLOBAL"
  }
}

Non-Compliant Code Examples

resource "nifcloud_vpn_gateway" "positive" {
  network_interface {
    network_id = "net-COMMON_GLOBAL"
  }
}