Skip to content

Instantly share code, notes, and snippets.

@mooperd
Created February 19, 2015 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mooperd/9d18ea3d1a64c2890c9a to your computer and use it in GitHub Desktop.
Save mooperd/9d18ea3d1a64c2890c9a to your computer and use it in GitHub Desktop.
[ERROR ] AWS Response Status Code and Error: [400 400 Client Error: Bad Request] {'Errors': {'Error': {'Message': 'Network interfaces and an instance-level security groups may not be specified on the same request', 'Code': 'InvalidParameterCombination'}}, 'RequestID': '82dffd5e-ce92-4153-b909-2ea0d794b9f7'}
[ERROR ] Error requesting instance: Errors
centos6_ec2:
provider: my-ec2-southeast-public-ips
image: ami-99cb41ee
size: t2.micro
script: bootstrap-salt
network_interfaces:
- DeviceIndex: 0
AssociatePublicIpAddress: True # Ask AWS to assign a public ip automatically
SubnetId: subnet-e2db6495
SecurityGroupId: sg-870e7be2
script_args: -U git v2015.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment