Giter Site home page Giter Site logo

atsoamazed / infrastructure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dosomething/infrastructure

0.0 1.0 0.0 935 KB

๐Ÿ„ DoSomething.org's infrastructure, managed by Terraform.

License: MIT License

HCL 75.12% VCL 9.85% Makefile 0.88% HTML 8.50% Smarty 2.13% Shell 3.53%

infrastructure's Introduction

DoSomething.org Infrastructure

This is DoSomething.org's infrastructure as code, built using Terraform. We use it to manage and provision resources in Fastly, Heroku, and AWS (EC2, RDS, SQS, S3, IAM users, amongst others). It's a work in progress.

Installation

Install Terraform 0.12. On macOS, this is easy with Homebrew:

brew install terraform

Create a Terraform.io account with your work email & ask for an invite to our organization in #dev-infrastructure. Don't forget to enable two-factor auth! Then, create a user API token and place it in your ~/.terraformrc file, like so:

credentials "app.terraform.io" {
  token = "xxxxxx.atlasv1.zzzzzzzzzzzzz"
}

Finally, configure your local environment & install dependencies:

# Install dependencies, connect to Terraform Cloud, and configure git hooks:
make init

Usage

Terraform allows us to create & modify infrastructure declaratively. You can see all your options in Terraform's provider documentation for Fastly, Heroku, and AWS (EC2, RDS, SQS, S3, IAM users, amongst others). We also have "getting started" guides for Terraform Basics & Serverless.

You can run make format at any time to automatically format your code (or use an hclfmt plugin for your editor).

Next, make a plan to find out how it will affect the current state of the system:

make plan

Once you're satisfied with Terraform's plan, commit your work & make a pull request. After your pull request is reviewed and merged, you can then apply your change to update the actual infrastructure. Terraform Cloud will make your changes, update the remote state, and ensure nobody else makes any changes until you're done.

See Terraform's Getting Started guide & documentation for more details.

Security Vulnerabilities

We take security very seriously. Any vulnerabilities in our infrastructure should be reported to [email protected], and will be promptly addressed. Thank you for taking the time to responsibly disclose any issues you find.

License

ยฉ DoSomething.org. This config is free software, and may be redistributed under the terms specified in the LICENSE file. The name and logo for DoSomething.org are trademarks of Do Something, Inc and may not be used without permission.

infrastructure's People

Contributors

dfurnes avatar sheyd avatar weerd avatar mshmsh5000 avatar aaronschachter avatar chloealee avatar blisteringherb avatar

Watchers

James Cloos 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.