Terraform Value for parameter PublicKeyMaterial is invalid

QuestionsCategory: QuestionsTerraform Value for parameter PublicKeyMaterial is invalid
Arjun Laghari Staff asked 8 months ago
Spread the love

This is error i get with terraform

Error: Error applying plan:

1 error(s) occurred:

* aws_key_pair.ecs: 1 error(s) occurred:

* aws_key_pair.ecs: Error import KeyPair: InvalidParameterValue: Value for parameter PublicKeyMaterial is invalid. Length exceeds maximum of 2048.

status code: 400, request id: 246c8eb2-501f-4545-8969-54ecce2659ca