Skip to content

Commit 4b190d2

Browse files
committed
tools/terraform: Fix warning reported by Terraform
We shouldn't interpolate a variable alone in a string: we should use the variable directly.
1 parent 58faef1 commit 4b190d2

File tree

1 file changed

+1
-1
lines changed
  • deps/rabbitmq_ct_helpers/tools/terraform/direct-vms

1 file changed

+1
-1
lines changed

deps/rabbitmq_ct_helpers/tools/terraform/direct-vms/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ resource "aws_instance" "vm" {
212212
connection {
213213
type = "ssh"
214214
user = local.username
215-
private_key = file("${var.ssh_key}")
215+
private_key = file(var.ssh_key)
216216
agent = false
217217
}
218218
}

0 commit comments

Comments
 (0)