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=80to_port=80protocol="TCP"cidr_ip=nifcloud_private_lan.main.cidr_block}