Skip to content

Instantly share code, notes, and snippets.

View arunvelsriram's full-sized avatar
🇮🇳
👨‍💻 from 🏠

Arunvel Sriram arunvelsriram

🇮🇳
👨‍💻 from 🏠
View GitHub Profile
@arunvelsriram
arunvelsriram / di_terraform.tf
Created August 21, 2017 21:23
Terraform dependency injection style de-coupling resources
# di_terraform.tf
# Example Terraform configuration that shows de-coupling resources (Amazon S3 bucket and bucket policy)
# with the help of modules analogous to dependency injection technique
# modules/s3_bucket/main.tf
# Base S3 bucket that can be attached a policy
variable "bucket_name" {}
variable "region" {
@arunvelsriram
arunvelsriram / webpack.config.js
Last active May 15, 2017 16:05 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
var webpack = require('webpack');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var debug = process.env.NODE_ENV !== 'production';
var plugins = [
new HtmlWebpackPlugin()
];
module.exports = {
context: __dirname + '/src',