-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
executable file
·34 lines (28 loc) · 1.21 KB
/
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
28
29
30
31
32
33
34
# Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
output "lb_public_url" {
value = format("http://%s", lookup(oci_load_balancer_load_balancer.dotnet_lb.ip_address_details[0], "ip_address"))
}
### Important Security Notice ###
# The private key generated by this resource will be stored unencrypted in your Terraform state file.
# Use of this resource for production deployments is not recommended.
# Instead, generate a private key file outside of Terraform and distribute it securely to the system where Terraform will be run.
output "generated_private_key_pem" {
value = var.generate_public_ssh_key ? tls_private_key.compute_ssh_key.private_key_pem : "No Keys Auto Generated"
}
output "dev" {
value = "Made with \u2764 by Oracle Developers"
}
output "comments" {
value = "The application URL will be unavailable for a few minutes after provisioning, while the application is configured"
}
output "deploy_id" {
value = random_string.deploy_id.result
}
output "deployed_to_region" {
value = local.region_to_deploy
}
output "dotnet_template_used" {
value = var.dotnet_standard_type
}