AWS Security ChangesHomeSearch

AWS AWSCloudFormation documentation change

Service: AWSCloudFormation · 2025-04-14 · Documentation low

File: AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.md

Summary

Corrected documentation about Ref function return value (security group ID vs VPC ID)

Security assessment

Minor documentation correction with no security implications

Diff

diff --git a/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.md b/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.md
index d558c98da..d93b0ea27 100644
--- a//AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.md
+++ b//AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroup.md
@@ -137 +137 @@ _Required_ : Conditional
-When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the ID of the security group if you specified the `VpcId` property. Otherwise, it returns the name of the security group. If you omit the `VpcId` property and need the ID of the VPC, use `Fn::GetAtt` instead.
+When you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the ID of the security group if you specified the `VpcId` property. Otherwise, it returns the name of the security group. If you omit the `VpcId` property and need the ID of the security group, use `Fn::GetAtt` instead.