Terraform Bastion Error
Summary
terraformContent
hi all , does annybody can create an terraform script in order to create a bastion port forwarding to an oracle database running on a VM
As you can see i created a bastion in an hub vcn an a instance and database on another vcn
for example , my code with the variable values :
resource "oci_bastion_session" "test_session_managed_ssh" {
bastion_id = oci_bastion_bastion.Bastion.id
key_details {
public_key_content = mysshkey
}
target_resource_details
session_type = MANAGED_SSH
target_resource_id = oci_core_instance.OracleCmanLinux.id ( oracel OEL resource Id )
target_resource_operating_system_user_name = "opc"
Tagged:
0