We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abb2f0b commit 670d78eCopy full SHA for 670d78e
1 file changed
customer-managed/azure/privatelink/terraform/output.tf
@@ -52,14 +52,3 @@ output "ssh_private_key" {
52
output "private_key_file_path" {
53
value = abspath(local_file.private_key.filename)
54
}
55
-
56
-output "ssh_to_ec2_commands" {
57
- description = "SSH to EC2 instance commands"
58
- # Terraform go code has issue to unmarshall the output. So no output if running inside the certification tests.
59
- value = var.resource_prefix == "" ? {
60
- "get_ssh_key_command" : <<EOF
61
- cat terraform.tfstate | jq .outputs.ssh_private_key.value | sed 's/"//g' | awk '{gsub(/\\n/,"\n")}1' > ${local.cert_file}; chmod 600 ${local.cert_file}
62
- EOF
63
- "ssh_command" : format("ssh -i %s redpanda@%s", local.cert_file, azurerm_public_ip.public_ip.ip_address)
64
- } : null
65
-}
0 commit comments