Skip to content

Instantly share code, notes, and snippets.

@bluethundr
Created September 19, 2016 14:59
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 bluethundr/31b0578ce7dec14a43295db40d32abdd to your computer and use it in GitHub Desktop.
Save bluethundr/31b0578ce7dec14a43295db40d32abdd to your computer and use it in GitHub Desktop.
## aws error
[root@vendoronsite ~]# salt-cloud -p base_ec2_public USAWSCDVS0000.us.company.com
[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': '84eaded3-cfcd-41bf-bd96-ef3bc6d14879'}
[ERROR ] Error requesting instance: Errors
Error: There was a profile error: Failed to deploy VM
## This is my profile
base_ec2_public:
provider: my-ec2-us-east-public-ips
image: ami-16b72301
size: c4-large
ssh_username: root
network_interfaces:
- DeviceIndex: 0
PrivateIpAddresses:
- Primary: True
#auto assign public ip (not EIP)
AssociatePublicIpAddress: False
SubnetId: subnet-89d0d5d0
SecurityGroupId:
- sg-93d518f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment