GithubHelp home page GithubHelp logo

redshift_s3_test's Introduction

Redshift with S3 bucket

Create a terraform module that creates the following resources:

  • An S3 bucket with private default acl
  • A redshift cluster with IAM role that allows read/write access to the bucket

Input parameters:

  • Number of nodes
  • Node type/size
  • Name of bucket/cluster
  • Charge Code tag to be applied to all resources

Outputs:

  • Redshift endpoint
  • S3 bucket ARN

Module for Redshift_s3_test

module "redshift_s3_test" {

  source = "https://github.com/anvrao5/redshift_s3_test.git"
  
  redshift_cluster_identifier = "${var.redshift_cluster_identifier}"
  
  redshift_cluster_node_type = "${var.redshift_cluster_node_type}"
  
  redshift_cluster_number_of_nodes = "${var.redshift_cluster_number_of_nodes}"
  
  redshift_cluster_database_name = "${var.redshift_cluster_database_name}"
  
  redshift_cluster_master_username = "${var.redshift_cluster_master_username}"
   
 redshift_cluster_master_password = "${var.redshift_cluster_master_password}"
 
 redshift_cluster_wlm_json_configuration = "${var.redshift_cluster_wlm_json_configuration}"
  
  public_subnets = "${var.public_subnets}"
  
  vpc_id = "${var.vpc_id}"
  
  vpc_cidr = "${var.vpc_cidr}"
  
  redshift_role_arn = "${var.redshift_role_arn}"
  
  redshift_bucket_name = "${var.redshift_bucket_name}"
}

redshift_s3_test's People

Contributors

anvrao5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.