Files
floci/tools/aws
Priamo Germosen e41bbd9351 fix(ec2): fill ec2:AccepterVpc and ec2:RequesterVpc for VPC peering requests (#10253)
Under IAM enforcement a VPC peering request carried neither key, so a
policy scoped by either side of the peering refused what it should allow.
Each key is now the ARN of the VPC on that side, in its own Region and
account: from the connection EC2 holds for Accept, Reject, Delete and
ModifyVpcPeeringConnectionOptions, and from the request for the
connection CreateVpcPeeringConnection makes.

The generator reads an ARN key named as another type with a word before
it from the structure member that begins with the key's name, opted in
for EC2. Create's parameters are joined to the record's sides by AWS's
own sample request and response on the API reference page, vendored by
tools/aws/fetch_ec2_request_samples.py.

Closes #8366
2026-12-05 14:42:10 -04:00
..