Git Product home page Git Product logo

terraform-aws-efs's Introduction

Terraform module for simplified management of Shared Storage servers using Amazon EFS

Software License Donate

Usage

Include this repository as a module in your existing terraform code:

module "efs" {
  source     = "git::https://github.com/anmolnagpal/terraform-aws-efs.git?ref=master"
  managedby  = "global"
  name       = "app"
  env        = "prod"
  attributes = ["efs"]

  aws_region         = "${var.aws_region}"
  vpc_id             = "${var.vpc_id}"
  subnets            = "${var.private_subnets}"
  availability_zones = ["${var.availability_zones}"]
  security_groups    = ["${var.security_group_id}"]

}

Inputs

Name Description Type Default Required
attributes Additional attributes (e.g. policy or role) list <list> no
availability_zones Availability Zone IDs list - yes
aws_region AWS region ID string - yes
delimiter Delimiter to be used between name, namespace, stage, etc. string - no
name Name (e.g. app or wordpress) string app no
namespace Namespace (e.g. cp or anmolnagpal) string global no
security_groups AWS security group IDs to allow to connect to the EFS list - yes
stage Stage (e.g. prod, dev, staging) string default no
subnets AWS subnet IDs list - yes
tags Additional tags (e.g. map('BusinessUnit','XYZ')) map <map> no
vpc_id AWS VPC ID string - yes

Outputs

Name Description
dns_name DNS name
id EFS id
mount_target_ids List of IDs of the EFS mount targets (one per Availability Zone)
mount_target_ips List of IPs of the EFS mount targets (one per Availability Zone)

๐Ÿ‘ฌ Contribution

  • Open pull request with improvements

  • Discuss ideas in issues

  • Reach out with any feedback Twitter URL

terraform-aws-efs's People

Contributors

anmolnagpal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.