From 78c5e4661f1f9ed7ca44f0440e64ef21268cde1f Mon Sep 17 00:00:00 2001 From: uk-bolly <69214557+uk-bolly@users.noreply.github.com> Date: Tue, 26 Jul 2022 17:20:20 +0100 Subject: [PATCH] hardcode private_key path --- .github/workflows/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.tf b/.github/workflows/main.tf index 59fcc52..adfaea0 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(var.private_key)}" + private_key = "${file(.ssh/github_actions.pem)}" # Type of connection type = "ssh" }