nixops-aws
nixops-aws copied to clipboard
deployment.ec2.subnetId ignored
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
After looking through the commits, @rbvermaa - is this fixed now?
A lot has changed, recommend closing this.
You should use securityGroupIds instead of securityGroups
https://github.com/NixOS/nixops-aws/blob/5a267e66de4b239f640bbbf43bb41bd72f2cbee3/nix/ec2.nix#L328-L336