AWS Security ChangesHomeSearch

AWS AmazonECS high security documentation change

Service: AmazonECS · 2025-10-16 · Security-related high

File: AmazonECS/latest/developerguide/instance_IAM_role.md

Summary

Corrected managed IAM policy name from 'AmazonEC2ContainerServiceRoleForEC2Role' to 'AmazonEC2ContainerServiceForEC2Role' in CLI commands and removed redundant JSON formatting.

Security assessment

Fixes a critical IAM policy reference. Using an incorrect policy name could lead to misconfigured permissions, potentially causing privilege escalation or unauthorized access. The correction ensures proper adherence to least-privilege security principles.

Diff

diff --git a/AmazonECS/latest/developerguide/instance_IAM_role.md b/AmazonECS/latest/developerguide/instance_IAM_role.md
index b3470cc32..d00f9c7d5 100644
--- a//AmazonECS/latest/developerguide/instance_IAM_role.md
+++ b//AmazonECS/latest/developerguide/instance_IAM_role.md
@@ -62,5 +61,0 @@ Replace all `user input` with your own values.
-JSON
-
-JSON
-    
-
@@ -111 +106 @@ Example response
-  5. Attach the `AmazonEC2ContainerServiceRoleForEC2Role` managed policy to the role using the following command.
+  5. Attach the `AmazonEC2ContainerServiceForEC2Role` managed policy to the role using the following command.
@@ -271,5 +265,0 @@ AWS CLI
-JSON
-
-JSON
-    
-