AWS vpc-lattice: Fix trailing commas in VPC Lattice IAM policy examples
Summary
Removed trailing commas after the tag condition values in two example IAM policies, correcting the JSON so the examples are valid and usable.
Security assessment
The diff only removes trailing commas from JSON in IAM policy examples (ResourceTag/Environment and PrincipalTag/Team conditions). This is a syntax/correctness fix to authorization policy samples, not a fix for a specific vulnerability or a new security control; it is security-adjacent documentation of IAM policies.
Evidence
- "aws:ResourceTag/Environment": "Gamma",
Diff
diff --git a/vpc-lattice/latest/ug/auth-policies.md b/vpc-lattice/latest/ug/auth-policies.md index bfd010628..d30acf783 100644 --- a//vpc-lattice/latest/ug/auth-policies.md +++ b//vpc-lattice/latest/ug/auth-policies.md @@ -377 +377 @@ The following example policy grants access to services with the tag `Environment - "aws:ResourceTag/Environment": "Gamma", + "aws:ResourceTag/Environment": "Gamma" @@ -402 +402 @@ The following example policy grants access only to identities with the tag `Team - "aws:PrincipalTag/Team": "Payments", + "aws:PrincipalTag/Team": "Payments"