nixops-aws icon indicating copy to clipboard operation
nixops-aws copied to clipboard

deployment.ec2.subnetId ignored

Open peterromfeldhk opened this issue 10 years ago • 3 comments

Hi,

i am using a non-default-VPC and specified the correct subnet-id for it. I get the error: error: EC2ResponseError: 400 Bad Request

<Response><Errors><Error><Code>MissingInput</Code><Message>No subnets found for the default VPC 'vpc-meh'. Please specify a subnet.</Message></Error></Errors><RequestID>a662bdee-b2eb-4c39-b28d-7d8a41a98cef</RequestID></Response>

my testing .nix files: http://pastebin.com/u7qEgDkF http://pastebin.com/NBJ6eifW

peterromfeldhk avatar Jan 06 '15 04:01 peterromfeldhk

After looking through the commits, @rbvermaa - is this fixed now?

aszlig avatar Dec 08 '15 05:12 aszlig

A lot has changed, recommend closing this.

tomberek avatar Mar 07 '18 21:03 tomberek

You should use securityGroupIds instead of securityGroups

https://github.com/NixOS/nixops-aws/blob/5a267e66de4b239f640bbbf43bb41bd72f2cbee3/nix/ec2.nix#L328-L336

tewfik-ghariani avatar May 13 '20 21:05 tewfik-ghariani