GithubHelp home page GithubHelp logo

asmtal / terraform_codedeploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kuldeepbhatt/terraform_codedeploy

0.0 0.0 0.0 21 KB

This repo holds the a beautiful orchestrator written in Terraform which will provision end to end infrastructure (resources) for AWS Code Deploy with just single command. . (terraform apply)

License: MIT License

Shell 3.78% HCL 96.22%

terraform_codedeploy's Introduction

terraform_codedeploy

This repo holds the a beautiful orchestrator written in Terraform which will build a beautiful infrastructure with just single command. . (terraform apply)

Steps to set up :

  1. Install Terraform (video tutorial : https://learn.hashicorp.com/terraform/getting-started/install.html)
  2. Set up AWS CLI (Optional) - https://docs.aws.amazon.com/polly/latest/dg/setup-aws-cli.html

Why Optional :

  • This project have 'main.tf' file in 'dev' folder which consist the provider as "aws" and region as "us-east-1" by default. As for orchestration on aws through Terraform program either you need to set up the AWS User (Admin console user) using "provider" block, where you will have to define your AWS Key and AWS Secret Key for that user, but that is not safe.
  • The better option is to set up AWS CLI and define your user's Key and Secret key inside your terminal itself using AWS CLI which is more secure option than defining them openly in main file. So that it will stay encapsulated.
  1. Clone the repository

  2. Open terminal to the clonned repository path

  3. Open dev folder

    cd tf_aws_codedeploy/dev
    
  4. Initialize Terraform

    terraform init
    
  5. Check the plan insights what are the resources to be orchestrated

    terraform plan
    
  6. Execute the plan

    terraform apply
    

This process may take afew minutes and once the process will be completed, your AWS CodeDeploy orchestration will be up and running and it will be ready for any application deployment.

Cheers!

terraform_codedeploy's People

Contributors

kuldeep-zymr avatar kuldeepbhatt 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.