Autoscaling launch config userdata exceeds chars limit 21847 for AWS EC2.

Solution Verified - Updated -

Issue

  • Unable to create a launch config due to size of the template:
Failed to create launch configuration
1 validation error detected: Value 'I2Nsb3VkLWNvbm....Vd' at 'userData' failed to satisfy constraint: Member must have length less than or equal to 21847

Environment

  • Openshift Container Platform (OCP) 3.X
  • Amazon Web Services (AWS) EC2.

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