NAT Gateway Deletion Protection Enabled
ID: rule:aliyun:natgateway-delete-protection-enabled
Severity: medium
IaC Types: ROS, Terraform
Description
Ensures that NAT gateway instances have deletion protection enabled.
Reason for Violation
If deletion protection is not enabled, the NAT gateway may be released accidentally, causing network disruption.
Recommendation
Enable deletion protection for the NAT gateway instance.
Resource Types
- ROS:
ALIYUN::VPC::NatGateway - Terraform:
alicloud_nat_gateway