Why Does the Creation of an EC2 Instance Fail Using Ansible 2.7?

Solution In Progress - Updated -

Issue

When using the Ansible 2.7 - ec2 module in a playbook to create an EC2 instance, I receive the following error:

"msg": "Instance creation failed => InvalidParameterCombination: Network interfaces and an instance-level private IP address may not be specified on the same request.

This issue did not occur in Ansible 2.6.

Environment

  • Ansible 2.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In