AWS AWSEC2 documentation change
Summary
Updated instance ARNs in IAM policy examples with concrete values
Security assessment
Changes standardize example formatting but do not modify security policies or address vulnerabilities.
Diff
diff --git a/AWSEC2/latest/UserGuide/ec2-instance-connect-configure-IAM-role.md b/AWSEC2/latest/UserGuide/ec2-instance-connect-configure-IAM-role.md index c497b1f2b..c9fe2f292 100644 --- a//AWSEC2/latest/UserGuide/ec2-instance-connect-configure-IAM-role.md +++ b//AWSEC2/latest/UserGuide/ec2-instance-connect-configure-IAM-role.md @@ -52,2 +52,2 @@ In the following example IAM policy, the following actions and condition are spe - "arn:aws:ec2:region:account-id:instance/i-1234567890abcdef0", - "arn:aws:ec2:region:account-id:instance/i-0598c7d356eba48d7" + "arn:aws:ec2:us-east-1:111122223333:instance/i-1234567890abcdef0", + "arn:aws:ec2:us-east-1:111122223333:instance/i-0598c7d356eba48d7" @@ -88 +88 @@ The `ec2:DescribeVpcs` action is specified to grant permission to users who will - "Resource": "arn:aws:ec2:region:account-id:instance/*", + "Resource": "arn:aws:ec2:us-east-1:111122223333:instance/*",