Hi Guys,
I am trying to install one EC2 instance using terraform, but it is showing me the below error.
aws_instance.myin2 (remote-exec): Failed to start httpd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
aws_instance.myin2 (remote-exec): See system logs and 'systemctl status httpd.service' for details.
Error: error executing "/tmp/terraform_1104475889.sh": Process exited with status 1
How can I solve this error?