try private_key path again

This commit is contained in:
uk-bolly 2022-07-26 17:27:57 +01:00 committed by GitHub
parent 78c5e4661f
commit 08bb6b553f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ resource "aws_instance" "testing_vm" {
# The default username for our AMI
user = var.ami_username
# Private key for connection
private_key = "${file(.ssh/github_actions.pem)}"
private_key = file(".ssh/github_actions.pem")
# Type of connection
type = "ssh"
}