{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/19288","labels_url":"https://api.github.com/repos/saltstack/salt/issues/19288/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/19288/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/19288/events","html_url":"https://github.com/saltstack/salt/issues/19288","id":53093279,"number":19288,"title":"AssociatePublicIpAddress doesnt work with salt-cloud 2014.7.0","user":{"login":"oba11","id":2796222,"avatar_url":"https://avatars.githubusercontent.com/u/2796222?v=3","gravatar_id":"","url":"https://api.github.com/users/oba11","html_url":"https://github.com/oba11","followers_url":"https://api.github.com/users/oba11/followers","following_url":"https://api.github.com/users/oba11/following{/other_user}","gists_url":"https://api.github.com/users/oba11/gists{/gist_id}","starred_url":"https://api.github.com/users/oba11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oba11/subscriptions","organizations_url":"https://api.github.com/users/oba11/orgs","repos_url":"https://api.github.com/users/oba11/repos","events_url":"https://api.github.com/users/oba11/events{/privacy}","received_events_url":"https://api.github.com/users/oba11/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/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/RIoT","name":"RIoT","color":"fef2c0"},{"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":2641,"closed_issues":2848,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-10-30T21:05:39Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2014-12-30T04:56:38Z","updated_at":"2015-10-30T21:36:36Z","closed_at":"2015-07-21T19:47:18Z","body":"Hi,\r\n\r\nI tried bootstrapping a system with the below cloud profile\r\n\r\n```\r\nubuntu-base-public-ip:\r\n  provider: aws\r\n  size: t2.small\r\n  image: ami-d6e7c084\r\n  ssh_username: ubuntu\r\n  network_interfaces:\r\n    - DeviceIndex: 0\r\n      PrivateIpAddresses:\r\n        - Primary: True\r\n      AssociatePublicIpAddress: True\r\n      SubnetId: subnet-1a2b3c4d\r\n      SecurityGroupId:\r\n        - sg-1a2b3c4d\r\n```\r\n\r\nBut if I try auto assigning elastic IP address, it works using below profile\r\n\r\n```\r\nubuntu-base-public-ip:\r\n  provider: aws\r\n  size: t2.small\r\n  image: ami-d6e7c084\r\n  ssh_username: ubuntu\r\n  network_interfaces:\r\n    - DeviceIndex: 0\r\n      PrivateIpAddresses:\r\n        - Primary: True\r\n      allocate_new_eips: True\r\n      SubnetId: subnet-1a2b3c4d\r\n      SecurityGroupId:\r\n        - sg-1a2b3c4d\r\n```\r\n\r\nNotes:\r\nI turned off auto-assigning public IP on my subnet settings\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/152656910","html_url":"https://github.com/saltstack/salt/issues/19288#issuecomment-152656910","issue_url":"https://api.github.com/repos/saltstack/salt/issues/19288","id":152656910,"user":{"login":"timcharper","id":183,"avatar_url":"https://avatars.githubusercontent.com/u/183?v=3","gravatar_id":"","url":"https://api.github.com/users/timcharper","html_url":"https://github.com/timcharper","followers_url":"https://api.github.com/users/timcharper/followers","following_url":"https://api.github.com/users/timcharper/following{/other_user}","gists_url":"https://api.github.com/users/timcharper/gists{/gist_id}","starred_url":"https://api.github.com/users/timcharper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcharper/subscriptions","organizations_url":"https://api.github.com/users/timcharper/orgs","repos_url":"https://api.github.com/users/timcharper/repos","events_url":"https://api.github.com/users/timcharper/events{/privacy}","received_events_url":"https://api.github.com/users/timcharper/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T21:36:36Z","updated_at":"2015-10-30T21:36:36Z","body":"There's been a change I've noticed when upgrading from `2015.5.3` to `2015.8.1` which is causing `salt-cloud` to always try and allocate an EIP, whereas before it would just allocate normal public IPs. Seems like a regression / surprising behavior, "}}