A playground for Oracle Cloud Infrastructure with Oracle Database for Developers
## Architecture
This project will deploy an Autonomous Database Shared and a compute instance with sqlcl
installed on Oracle Cloud Infrastructure.
## Deploy infrastructure
cd scripts/ && npm install && cd ..
zx scripts/setenv.mjs
Answer the Compartment name where you want to deploy the infrastructure. Root compartment is the default.
zx scripts/tfvars.mjs
cd terraform
terraform init
terraform plan --auto-approve
terraform apply --auto-approve
Run the command from the terraform output compute
.
The first time you connect with ssh (command above), SSH will ask you to confirm you want to add the fingerprint.
Answer
yes
.