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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content