forked from scarolan/azure-terraform-vault-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutputs.tf
28 lines (27 loc) · 1008 Bytes
/
outputs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
##############################################################################
# Outputs File
#
# Expose the outputs you want your users to see after a successful
# `terraform apply` or `terraform output` command. You can add your own text
# and include any data from the state file. Outputs are sorted alphabetically;
# use an underscore _ to move things to the bottom. In this example we're
# providing instructions to the user on how to connect to their own custom
# demo environment.
#
# output "Vault_Server_URL" {
# value = "http://${azurerm_public_ip.vault-pip.fqdn}:8200"
# }
# output "MySQL_Server_FQDN" {
# value = "${azurerm_mysql_server.mysql.fqdn}"
# }
# output "_Instructions" {
# value = <<SHELLCOMMANDS
#
# # Connect to your Linux Virtual Machine
# #
# # Run the command below to SSH into your server. You can also use PuTTY or any
# # other SSH client. Your password is: ${var.admin_password}
#
# ssh ${var.admin_username}@${azurerm_public_ip.vault-pip.fqdn}
# SHELLCOMMANDS
# }