diff --git a/.github/workflows/main.tf b/.github/workflows/main.tf index adfaea0..b284d24 100644 --- a/.github/workflows/main.tf +++ b/.github/workflows/main.tf @@ -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" }