{"action":"closed","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/14963","labels_url":"https://api.github.com/repos/saltstack/salt/issues/14963/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/14963/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/14963/events","html_url":"https://github.com/saltstack/salt/issues/14963","id":40189145,"number":14963,"title":"[salt-cloud][AWS][VPC] InvalidParameterCombination","user":{"login":"bogdanr","id":1079875,"avatar_url":"https://avatars.githubusercontent.com/u/1079875?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanr","html_url":"https://github.com/bogdanr","followers_url":"https://api.github.com/users/bogdanr/followers","following_url":"https://api.github.com/users/bogdanr/following{/other_user}","gists_url":"https://api.github.com/users/bogdanr/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanr/subscriptions","organizations_url":"https://api.github.com/users/bogdanr/orgs","repos_url":"https://api.github.com/users/bogdanr/repos","events_url":"https://api.github.com/users/bogdanr/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Severity","name":"Medium Severity","color":"fad8c7"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Salt-Cloud","name":"Salt-Cloud","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2179,"closed_issues":1952,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-05-08T07:39:54Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2014-08-13T19:19:07Z","updated_at":"2015-05-08T07:39:54Z","closed_at":"2015-05-08T07:39:54Z","body":"Hello,\r\n\r\nI am trying to start an instance with salt-cloud in a VPC and I get an InvalidParameterCombination error which looks like this:\r\n```\r\nroot@nimblex:/etc/salt# salt-cloud -p base test-salt\r\n[INFO    ] salt-cloud starting\r\n[INFO    ] Creating Cloud VM test-salt in eu-west-1\r\n[ERROR   ] EC2 Response Status Code and Error: [400 Bad Request] {'Errors': {'Error': {'Message': 'Network interfaces and an instance-level security groups may not be specified on the same request', 'Code': 'InvalidParameterCombination'}}, 'RequestID': '8e59a0000-cc00-0000-b483-5dbac1c9f63d'}\r\ntest-salt:\r\n    ----------\r\n    Errors:\r\n        ----------\r\n        Error:\r\n            ----------\r\n            Code:\r\n                InvalidParameterCombination\r\n            Message:\r\n                Network interfaces and an instance-level security groups may not be specified on the same request\r\n    RequestID:\r\n        8e59a0000-cc00-0000-b483-5dbac1c9f63d\r\n```\r\n\r\nMy configs looks like this:\r\n\r\n```\r\nerpk-ec2:\r\n  minion:\r\n    master: salt\r\n\r\n  ssh_interface: private_ips\r\n\r\n  id: AKI0000000000000TTCA\r\n  key: '80000000000000000000000000000000oK'\r\n\r\n  private_key: /etc/salt/root.pem\r\n  keyname: Bogdan\r\n  securitygroup: default\r\n\r\n  location: eu-west-1\r\n  availability_zone: eu-west-1a\r\n\r\n  ssh_username: admin\r\n\r\n  # Optionally add an IAM profile\r\n  iam_profile: 'boffice'\r\n\r\n  provider: ec2\r\n```\r\n```\r\nbase:\r\n  provider: erpk-ec2\r\n  image: ami-4d31e73a\r\n  size: t2.micro\r\n\r\n  network_interfaces:\r\n    - DeviceIndex: 0\r\n      PrivateIpAddresses:\r\n        - Primary: True\r\n      AssociatePublicIpAddress: True\r\n      SubnetId: subnet-3e80000a\r\n      SecurityGroupId:\r\n        - sg-40000003\r\n```\r\n"}}