RAM Role Has Specified Policy
ID: rule:aliyun:ram-role-has-specified-policy
Severity: medium
IaC Types: ROS, Terraform
Description
Ensures RAM roles have the specified policies attached.
Reason for Violation
Proper policy attachment ensures roles have necessary permissions.
Recommendation
Add an alicloud_ram_role_policy_attachment resource to attach a policy to the role.
Resource Types
- ROS:
ALIYUN::RAM::Role - Terraform:
alicloud_ram_role