Can someone show me an example of a script to create a RDS Oracle database using . . .

Kenneth McFadgen:
Can someone show me an example of a script to create a RDS Oracle database using AWS CLI

jkorell:
ChatGPT will hook you up! :slightly_smiling_face:

Seriously - it’ll at least point you in the right direction…. Here’s a snippet of a request I submitted to the GPT-3.5 model based on my question:

“How do I add a new zone and dns record to amazon route 53 using terraform?”

It’s not perfect (sometimes pretty inaccurate, actually), but getting better - and more helpful than reading most doc :raised_hands:

Michael Forrester:
https://docs.aws.amazon.com/cli/latest/reference/rds/create-db-instance.html#examples

Michael Forrester:

aws rds create-db-instance \
    --db-instance-identifier test-mysql-instance \
    --db-instance-class db.t3.micro \
    --engine mysql \
    --master-username admin \
    --master-user-password secret99 \
    --allocated-storage 20

Michael Forrester:
Actually the docs usualy have examples sections that work pretty well. I love ChatGPT, but it often gets it wrong.

Michael Forrester:
note that you need to change mysql to oracle… :slightly_smiling_face: and T3.micro not the best choice for anything other than Proof of Concept for a database. :slightly_smiling_face: