/iloug2018

A demo report for https://www.iloug.org

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

Serverless Oracle Demo

This repo is for ILOUG TECH DAYS 2018

It contains the following

Prerequisites

  • install terraform
  • setup requirement parameters in oracle_rds_terrform/secret.tfvars and oracle_rds_terrform/terraform.tfvars
  • deploy lambda code

Deploy

Deploy lambda code

  $ cd lambda_oracle
  $ zip -9 -r /tmp/lambda.zip ./*
  $ aws s3 cp /tmp/lambda.zip  s3://<YOUR BUCKET>/<YOUR KEY>

Deploy terraform code

  $ cd oracle_rds_terrform
  $ terraform init
  $ terraform plan -var-file="secret.tfvars" -var-file="terraform.tfvars" -var region=us-west-2
  $ terraform apply