GithubHelp home page GithubHelp logo

techdawg270 / terraform-live Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

Infra as code for a live environment using Terraform

HCL 92.28% Python 2.38% Shell 5.35%
terraform infrastructure-as-code aws

terraform-live's Introduction

Terraform AWS Live Environment Management

This implementation is largely based off of Terraforms Recommended Best Practices

Prerequisites

You only need Terraform and an AWS account to run the code

OSX install - brew install terraform

Windows install - chocolatey install terraform

AWS Creds

AWS Credentials can be handled various ways but running the code out of the box should be fairly trivial if you do AWS development and have access key info stored in env vars or on disk at ~/.aws/credentials. More info on the AWS provider can be found here

Graph generation

From within any workspace you can run the following to view the graph

$ brew install graphviz

$ terraform graph | dot -Tpng > graph.png

Considerations

  • This is a POC showing various ways to handle the repository structure and workspace layout
  • These workspaces could be broken down into different repositories rather than the monolithic repository
  • The terraform concept of workspaces could be used instead of maintaining environments via vars and backend config
  • Local vars would be a good idea to implement
  • Terraform does not have a resource for AWS Kinesis Data Analytics :(

terraform-live's People

Contributors

techdawg270 avatar dbutler-cb avatar

Watchers

 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.