From a83d96f4d4002af2eaa2cde9dedd64f337ffaff1 Mon Sep 17 00:00:00 2001 From: uk-bolly <69214557+uk-bolly@users.noreply.github.com> Date: Wed, 27 Jul 2022 11:58:36 +0100 Subject: [PATCH] changed 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 d322cda..77966d9 100644 --- a/.github/workflows/main.tf +++ b/.github/workflows/main.tf @@ -71,7 +71,7 @@ resource "aws_instance" "testing_vm" { # The default username for our AMI user = var.ami_username # Private key for connection - private_key = data.local_file.github_actions.content + private_key = file("${path.module}/.ssh/github_actions.pem") # Type of connection type = "ssh" }