AWS ec2: Correct CLI parameter name in create-vpc-endpoint example
Summary
Changes '--security-group-id' to the correct plural '--security-group-ids' in the create-vpc-endpoint CLI example.
Security assessment
Fixes an invalid CLI flag in a VPC endpoint example that attaches a security group; the change makes the example runnable but does not alter any security guidance or address a vulnerability.
Evidence
+ --security-group-ids sg-1a2b3c4d \
Diff
diff --git a/ec2/latest/devguide/example_ec2_CreateVpcEndpoint_section.md b/ec2/latest/devguide/example_ec2_CreateVpcEndpoint_section.md index 8509457..760fedd 100644 --- a//ec2/latest/devguide/example_ec2_CreateVpcEndpoint_section.md +++ b//ec2/latest/devguide/example_ec2_CreateVpcEndpoint_section.md @@ -64 +64 @@ The following `create-vpc-endpoint` example creates an interface VPC endpoint be - --security-group-id sg-1a2b3c4d \ + --security-group-ids sg-1a2b3c4d \