This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
NewerOlder