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

Metadata

Id: terraform-nifcloud-computing-security-group-rule-description-undefined

Provider: Nifcloud

Platform: Terraform

Severity: Low

Category: Best Practices

Learn More

Description

The nifcloud_security_group_rule resource must include a description attribute for auditing and traceability. This rule identifies nifcloud_security_group_rule instances that do not include a description and reports them as MissingAttribute. The rule returns documentId, resourceType, resourceName, searchKey, issueType, keyExpectedValue, and keyActualValue in the result.

Compliant Code Examples

resource "nifcloud_security_group_rule" "negative" {
  security_group_names = ["http"]
  type                 = "IN"
  description          = "HTTP from VPC"
  from_port            = 80
  to_port              = 80
  protocol             = "TCP"
  cidr_ip              = nifcloud_private_lan.main.cidr_block
}

Non-Compliant Code Examples

resource "nifcloud_security_group_rule" "positive" {
  security_group_names = ["http"]
  type                 = "IN"
  from_port            = 80
  to_port              = 80
  protocol             = "TCP"
  cidr_ip              = nifcloud_private_lan.main.cidr_block
}