Skip to content

Commit da54f48

Browse files
committed
variables update
1 parent 7f74758 commit da54f48

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ output "app_public_url" {
66
value = format("http://%s", lookup(oci_load_balancer_load_balancer.dotnet_lb.ip_address_details[0], "ip_address"))
77
}
88

9+
output "public_ips" {
10+
value = "rm private_key && pbpaste > private_key && chmod 600 private_key && ssh -oStrictHostKeyChecking=accept-new -i private_key ubuntu@${oci_core_instance.app_instance.0.public_ip}"
11+
}
12+
913
### Important Security Notice ###
1014
# The private key generated by this resource will be stored unencrypted in your Terraform state file.
1115
# Use of this resource for production deployments is not recommended.

variables.tf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,18 @@ variable "use_only_always_free_elegible_resources" {
6363
# ORM Schema visual control variables
6464
variable "show_advanced" {
6565
default = false
66+
}
67+
68+
# Customizing App
69+
variable "dotnet_create_standard_webapp" {
70+
default = true
71+
}
72+
variable "dotnet_standard_type" {
73+
default = "webApp" # E.g.: blazorserver
74+
}
75+
variable "dotnet_custom_text_for_standard_webapp" {
76+
default = "Welcome to the Oracle QuickStart"
77+
}
78+
variable "dotnet_git_custom_webapp" {
79+
default = "https://github.com/aspnet/samples.git"
6680
}

0 commit comments

Comments
 (0)