696 lines
28 KiB
HCL
696 lines
28 KiB
HCL
|
|
fqdn
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
output "host_private_ip" {
|
|||
|
|
value = azurerm_linux_virtual_machine.vm.private_ip_address
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
output "network_id" {
|
|||
|
|
value = module.network.network_id
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
output "network_redis_subnet_id" {
|
|||
|
|
value = module.network.network_redis_subnet_id
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
output "network_private_subnet_id" {
|
|||
|
|
value = module.network.network_private_subnet_id
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
output "network_frontend_subnet_id" {
|
|||
|
|
value = module.network.n// Copyright (c) 2020, Oracle and/or its affiliates.
|
|||
|
|
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/letwork_frontend_subnet_id
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# private key loicenses/upl.
|
|||
|
|
|
|||
|
|
provider oci {
|
|||
|
|
tenancy_ocid = var.tenancy_ocid
|
|||
|
|
usercal file excluded via gitignore
|
|||
|
|
resource "local_file" "proxy_k_ocid = var.user_ocid
|
|||
|
|
fingerprint = var.fingerprint
|
|||
|
|
private_key_patey" {
|
|||
|
|
filename = "${path.module}/proxy_key.ph = vem"
|
|||
|
|
file_permission = "0600"
|
|||
|
|
content = tls_private_key.proxy_ssh.private_key_pem
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# bastion fqdn
|
|||
|
|
output "bastion_fqdn" {
|
|||
|
|
value = azurerm_public_ip.vm_bastion.fqdn
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# private key local file excluded via gitar.private_key_path
|
|||
|
|
region = var.region
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// provider for home region for IAM resource prtion_fqdn" {
|
|||
|
|
value = azurerm_public_ip.vm_bastion.fqdn
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# private key local file excluded via gitar.private_key_path
|
|||
|
|
region = var.region
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// provider for home region for IAM resource provisongini
|
|||
|
|
provider oci {
|
|||
|
|
alias / |