For ICP 3.1.2 , deploying new cluster with enable_autoscaling = "true" fails on creating Lambda function:
- aws_lambda_function.icp_autoscale: Error creating Lambda function: InvalidParameterValueException: The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs10.x) while creating or updating functions
Possible solution like suggested:
resource "aws_lambda_function" "icp_autoscale"
runtime = "nodejs6.10" --> "nodejs10.x"