Hi Guys,
I am trying to create one SSH key using terraform, but it is showing me the below error.
Error: Incorrect attribute value type
on task1.tf line 13, in resource "local_file" "mypvkey":
13: content = tls_private_key.task1_key
|----------------
| tls_private_key.task1_key is object with 8 attributes
Inappropriate value for attribute "content": string required.