I'm using the NodeJS SDK to add an inbound rule to a db security group from a db-access security group.
Both of these security groups exist within a VPC, however when I add the ingress rule using
params =
GroupId: <Target Group Id>
SourceSecurityGroupOwnerId: <Source Group Id>
ec2.authorizeSecurityGroupIngress(params, ...)
I get the following error:
{ [MissingParameter: Source group ID missing.]
message: 'Source group ID missing.',
code: 'MissingParameter',
time: Mon Nov 24 2014 19:44:13 GMT-0800 (PST),
statusCode: 400,
retryable: false,
retryDelay: 30
}
The payload I'm sending has valid security groups, and when I look at the EC2 documentation, the only place where Source Group ID appears to come from is the SourceSecurityGroupOwnerId parameter.
Has anyone else run into this? Is this endpoint just flaky?