This repository was archived by the owner on Apr 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ resource "oci_core_instance" "Utility" {
14
14
15
15
metadata {
16
16
ssh_authorized_keys = " ${ var . ssh_public_key } "
17
- user_data = " ${ base64encode (file (" scripts/cm_boot_mysql.sh" ))} "
17
+ user_data = " ${ base64encode (file (" ../ scripts/cm_boot_mysql.sh" ))} "
18
18
}
19
19
20
20
timeouts {
@@ -40,7 +40,7 @@ resource "oci_core_instance" "Master" {
40
40
41
41
metadata {
42
42
ssh_authorized_keys = " ${ var . ssh_public_key } "
43
- user_data = " ${ base64encode (file (" scripts/boot.sh" ))} "
43
+ user_data = " ${ base64encode (file (" ../ scripts/boot.sh" ))} "
44
44
}
45
45
46
46
timeouts {
@@ -64,7 +64,7 @@ resource "oci_core_instance" "Bastion" {
64
64
65
65
metadata {
66
66
ssh_authorized_keys = " ${ var . ssh_public_key } "
67
- user_data = " ${ base64encode (file (" scripts/boot.sh" ))} "
67
+ user_data = " ${ base64encode (file (" ../ scripts/boot.sh" ))} "
68
68
}
69
69
70
70
timeouts {
@@ -90,7 +90,7 @@ resource "oci_core_instance" "Worker" {
90
90
91
91
metadata {
92
92
ssh_authorized_keys = " ${ var . ssh_public_key } "
93
- user_data = " ${ base64encode (file (" scripts/boot.sh" ))} "
93
+ user_data = " ${ base64encode (file (" ../ scripts/boot.sh" ))} "
94
94
}
95
95
96
96
timeouts {
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ output "0 - INFO - Block Volume Size (HDFS)" { value = "${var.data_blocksize_in_
4
4
output "1 - Bastion SSH Login" { value = " ssh -i ${ var . ssh_keypath } opc@${ data . oci_core_vnic . bastion_vnic . public_ip_address } " }
5
5
output "2 - Cloudera Manager URL" { value = " http://${ data . oci_core_vnic . utility_node_vnic . public_ip_address } :7180/cmf/" }
6
6
output "3 - Cloudera Manager Recent Commands" { value = " http://${ data . oci_core_vnic . utility_node_vnic . public_ip_address } :7180/cmf/commands/commands" }
7
- output "4 - DEPLOYMENT COMMAND" { value = " python scripts/deploy_on_oci.py -B -m ${ data . oci_core_vnic . utility_node_vnic . public_ip_address } -d ${ ceil (((var. hdfs_usable_in_gbs * 3 )/ var. data_blocksize_in_gbs )/ var. worker_node_count )} -w ${ var . worker_instance_shape } " }
7
+ output "4 - DEPLOYMENT COMMAND" { value = " python ../ scripts/deploy_on_oci.py -B -m ${ data . oci_core_vnic . utility_node_vnic . public_ip_address } -d ${ ceil (((var. hdfs_usable_in_gbs * 3 )/ var. data_blocksize_in_gbs )/ var. worker_node_count )} -w ${ var . worker_instance_shape } " }
You can’t perform that action at this time.
0 commit comments