forked from ansible-lockdown/RHEL9-CIS
hardcode private_key path
This commit is contained in:
parent
5a2da89394
commit
78c5e4661f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.tf
vendored
2
.github/workflows/main.tf
vendored
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue