Skip to content

Instantly share code, notes, and snippets.

View ctala's full-sized avatar
🏠
Working from home

Cristian Tala S. ctala

🏠
Working from home
View GitHub Profile
@ctala
ctala / handler.js
Created December 5, 2019 20:03
Probando Serverless Lambda y Proxy RDS Integration
'use strict';
const mysql = require('mysql2');
const connectionParams = {
host: process.env.DB_HOST,
user: process.env.DB_USER,
password: process.env.DB_PASS,
database: process.env.DB_NAME,
port: process.env.DB_PORT,
};
@ctala
ctala / 00_SET_ENFORCE.config
Last active November 11, 2019 23:52
.ebextentions/
###################################################################################################
#### Copyright 2019 Cristian Tala Sánchez. All Rights Reserved.
####
#### Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file
#### except in compliance with the License. A copy of the License is located at
####
#### http://aws.amazon.com/apache2.0/
####
#### or in the "license" file accompanying this file. This file is distributed on an "AS IS"
#### BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the