Hi All
Chef-Provisioning - I’ve created an elastic network interface, and can attach to an instance. But I then want to associate an Elastic IP to the interface. I can only see an option to associate EIP to the machine itself, not the ENI…am I missing something(probably)?
require 'chef/provisioning/aws_driver'
with_driver 'aws'
aws_network_interface "eni-test" do
machine 'i-xxxxxxx'
subnet 'subnet-xxxxxxx'
security_groups ['sg-xxxxxxxx','sg-xxxxxxx']
description 'test ENI'
device_index 1
end
aws_eip_address 'xx.xx.xxx.xxx' do
machine ' blah' << -This is where i'd expect to see an option to associate to ENI
end
Thanks
Mark