Custom module to allocate_private_virtual_interface

12 views
Skip to first unread message

Kishore Ponniah

unread,
Feb 13, 2019, 4:28:30 PM2/13/19
to Ansible Project
Hi All,

I am creating Direct Connect Private Virtual Interface but as a hosted interface. Currently, there are no ansible modules to allocate_private_virtual_interface. This will create a private virtual interface to be owned by specified AWS account. 

This is the boto3 link for that


response = client.allocate_private_virtual_interface(
    connectionId='string',
    ownerAccount='string',
    newPrivateVirtualInterfaceAllocation={
        'virtualInterfaceName': 'string',
        'vlan': 123,
        'asn': 123,
        'mtu': 123,
        'authKey': 'string',
        'amazonAddress': 'string',
        'addressFamily': 'ipv4'|'ipv6',
        'customerAddress': 'string'
    }
)

The current ansible module does not have ownerAccount parameter. Can someone help create one?



Current ansible module:


Thanks
Kishore




Kishore Ponniah

unread,
Feb 15, 2019, 7:20:35 AM2/15/19
to Ansible Project
Hi all,

Can someone help, please?

Thanks
Kishore
Reply all
Reply to author
Forward
0 new messages