AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2025-02-27 · Documentation low

File: AWSEC2/latest/UserGuide/attach-iam-role.md

Summary

Minor wording changes in IAM role attachment documentation, clarifying instance state requirements

Security assessment

The changes are purely editorial, improving clarity without introducing or modifying any security-related content

Diff

diff --git a/AWSEC2/latest/UserGuide/attach-iam-role.md
index 77b3cb390..b4c569b2d 100644
--- a/AWSEC2/latest/UserGuide/attach-iam-role.md
+++ b/AWSEC2/latest/UserGuide/attach-iam-role.md
@@ -76 +76 @@ PowerShell
-To replace the IAM role on an instance that already has an attached IAM role, the instance must be in the `running` state. You can do this if you want to change the IAM role for an instance without detaching the existing one first. For example, you can do this to ensure that API actions performed by applications running on the instance are not interrupted.
+To replace the IAM role on an instance that already has an attached IAM role, the instance must be running. You can do this if you want to change the IAM role for an instance without detaching the existing one first. For example, you can do this to ensure that API actions performed by applications running on the instance are not interrupted.
@@ -142 +142 @@ PowerShell
-You can detach an IAM role from a running or stopped instance.
+You can detach an IAM role from an instance that is running or stopped.