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
| master: | |
| image: elasticsearch:2 | |
| ports: | |
| - "9200:9200" | |
| restart: always | |
| container_name: es_master | |
| es-node: | |
| image: elasticsearch:2 | |
| command: elasticsearch --discovery.zen.ping.unicast.hosts=es_master |
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
| FROM ubuntu:14.04 | |
| MAINTAINER Mason Fischer <[email protected]> | |
| RUN apt-get update && apt-get install -y nodejs |
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
| variable "user_names" { | |
| description = "User names to create user accounts from" | |
| } | |
| variable "group_names" { | |
| description = "The group names to create groups from" | |
| } | |
| variable "group_membership_names" { | |
| description = "The group names to create group memberships from" |
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
| provider "aws" { | |
| access_key = "YOURS" | |
| secret_key = "YOURS" | |
| region = "us-east-1" | |
| } | |
| resource "aws_iam_user" "user" { | |
| name = "${element(split(",", var.user_names), count.index)}" | |
| path = "/users/" |
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
| terraform plan -var 'user_names=bob,alice,charlie' -var 'group_names=group1,group2' -var 'group_membership_names=group1,group2,group1,group2,group1' -var 'user_membership_names=bob,bob,alice,alice,charlie' |
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
| -- ********************************************************************* | |
| -- Update Database Script | |
| -- ********************************************************************* | |
| -- Change Log: 0_LiquiBaseBuildConfig.xml | |
| -- Ran at: 12/11/13 2:20 PM | |
| -- Against: postgres@jdbc:postgresql://localhost:5432/mercury | |
| -- Liquibase version: 3.0.7 | |
| -- ********************************************************************* | |
| -- Lock Database |
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
| --liquibase formatted sql | |
| --changeset henkbl:C1 stripComments:false runOnChange:false | |
| --comment:Add new table per requirement XYZ123. | |
| CREATE TABLE public.employee | |
| ( | |
| employee_id SERIAL PRIMARY KEY NOT NULL, | |
| first_name VARCHAR(20) NOT NULL, | |
| department_id INTEGER NOT NULL |
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
| -- ********************************************************************* | |
| -- Update Database Script | |
| -- ********************************************************************* | |
| -- Change Log: 0_LiquiBaseBuildConfig.xml | |
| -- Ran at: 12/11/13 2:12 PM | |
| -- Against: postgres@jdbc:postgresql://localhost:5432/mercury | |
| -- Liquibase version: 3.0.7 | |
| -- ********************************************************************* | |
| -- Lock Database |
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
| -- ********************************************************************* | |
| -- Update Database Script | |
| -- ********************************************************************* | |
| -- Change Log: 0_LiquiBaseBuildConfig.xml | |
| -- Ran at: 12/11/13 2:06 PM | |
| -- Against: postgres@jdbc:postgresql://localhost:5432/mercury | |
| -- Liquibase version: 3.0.7 | |
| -- ********************************************************************* | |
| -- Create Database Lock Table |
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
| CREATE TABLE public.databasechangeloglock | |
| ( | |
| id integer NOT NULL, | |
| locked boolean NOT NULL, | |
| lockgranted timestamp with time zone, | |
| lockedby character varying(255), | |
| CONSTRAINT pk_databasechangeloglock PRIMARY KEY (id ) | |
| ) | |
| WITH ( | |
| OIDS=FALSE |
NewerOlder