Skip to content

Commit

Permalink
updates on solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelpanaitescu committed Aug 3, 2023
1 parent 28ec1aa commit e120cd9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ https://RDDAINSUH6U1OKC-ORACLEMOVIESTREAM.adb.us-ashburn-1.oraclecloudapps.com/o

[Autonomous Databases Overview](https://docs.oracle.com/en-us/iaas/Content/Database/Concepts/adboverview.htm)

[Terraform Autonomous Databases Resource](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/database_autonomous_database)
[Terraform Autonomous Databases Resource](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_autonomous_database)


## <a name="team"></a>The Team
Expand Down
12 changes: 6 additions & 6 deletions cloud-foundation/solutions/Oracle-MovieStream/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,17 +761,17 @@ $ ssh -i private_key_bastion.pem opc@PUBLIC_IP_OF_THE_BASTION -o IdentitiesOnly

[Network Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm)

[Terraform Autonomous Databases Resource](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/database_autonomous_database)
[Terraform Autonomous Databases Resource](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/database_autonomous_database)

<!-- [Terraform Data Catalog Service Resource](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/datacatalog_catalog) -->
<!-- [Terraform Data Catalog Service Resource](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/datacatalog_catalog) -->

[Terraform Certificates - TLS Provider](https://registry.terraform.io/providers/hashicorp/tls/latest/docs)
[Terraform Certificates - TLS Provider](https://registry.terraform.io/providers/oracle/tls/latest/docs)

[Terraform Oracle Cloud Infrastructure Core Service](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_instance)
[Terraform Oracle Cloud Infrastructure Core Service](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_instance)

[Terraform Vcn resource in Oracle Cloud Infrastructure Core service](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_vcn)
[Terraform Vcn resource in Oracle Cloud Infrastructure Core service](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_vcn)

[Terraform Subnet resource in Oracle Cloud Infrastructure Core service](https://registry.terraform.io/providers/hashicorp/oci/latest/docs/resources/core_subnet)
[Terraform Subnet resource in Oracle Cloud Infrastructure Core service](https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/core_subnet)


## <a name="team"></a>The Team
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,45 +50,6 @@ resource "null_resource" "remote-exec" {
private_key = var.private_key
}
}

# provisioner "file" {
# destination = "/home/opc/tables.sql"
# content = templatefile("./modules/provisioner/tables.sql.tmpl", {
# tag = var.tag
# run_post_load_procedures = var.run_post_load_procedures
# })
# connection {
# agent = false
# timeout = "30m"
# host = var.host
# user = "opc"
# private_key = var.private_key
# }
# }

# provisioner "file" {
# source = "./modules/provisioner/movieapp.zip"
# destination = "/home/opc/movieapp.zip"
# connection {
# agent = false
# timeout = "30m"
# host = var.host
# user = "opc"
# private_key = var.private_key
# }
# }

# provisioner "file" {
# source = "./modules/provisioner/oml4py-client-linux-x86_64-1.0.zip"
# destination = "/home/opc/oml4py-client-linux-x86_64-1.0.zip"
# connection {
# agent = false
# timeout = "30m"
# host = var.host
# user = "opc"
# private_key = var.private_key
# }
# }

provisioner "file" {
destination = "/home/opc/oml_sample.py"
Expand Down Expand Up @@ -134,13 +95,10 @@ resource "null_resource" "remote-exec" {
"sudo chmod 777 /home/opc/init.sql",
"sudo chmod 777 /home/opc/wallet_${var.db_name}.zip",
"sudo chmod 777 /home/opc/tables.sql",
# "sudo chmod 777 /home/opc/movieapp.zip",
# "sudo chmod 777 /home/opc/oml4py-client-linux-x86_64-1.0.zip",
"sudo chmod 777 /home/opc/finalize.sh",
"sudo chmod 777 /home/opc/oml_sample.py",
"sudo wget https://objectstorage.us-ashburn-1.oraclecloud.com/n/oradbclouducm/b/data/o/movieapp.zip -P /home/opc/",
"sudo chmod 777 /home/opc/movieapp.zip",
## why we are doing this - comment it .
"sudo wget https://objectstorage.us-ashburn-1.oraclecloud.com/n/oradbclouducm/b/data/o/oml4py-client-linux-x86_64-1.0.zip -P /home/opc/",
"sudo chmod 777 /home/opc/oml4py-client-linux-x86_64-1.0.zip",
"sudo systemctl disable firewalld",
Expand Down

0 comments on commit e120cd9

Please sign in to comment.