Git Product home page Git Product logo

terraform-infra's Introduction

Terraform IaC

Table of Contents
  1. About
  2. Installation

About

This repository is concerned with the provisioning of infrastructure for any of my personal projects using Terraform IaC. Currently, the cloud services used to host my projects are AWS and Cloudflare.

Note: This is just one of multiple repositories that contribute to my personal projects. Here are all the related repositories:

Repository Built With Description
pierreccesario Hugo, Markdown, Jenkins, AWS Personal Portfolio and Blog Static Website
PCPartsTool SvelteKit, TypeScript, Tailwind CSS, MongoDB, Jenkins, Docker, Playwright The SvelteKit MongoDB WebApp
PCPartsTool-Scraper JavaScript, Jenkins, Docker Scraping Script to Gather E-commerce Item Data
terraform-infra Terraform, Cloudflare, AWS Terraform IaC for PCPartsTool Cloud Infrastructure
ansible-ec2 Ansible, Prometheus, Grafana, Nginx, AWS Ansible CaC for AWS EC2 Bootstraping, Observability and Maintenance
shuttleday React, TypeScript, MUI, Node.js, Docker, Express, MongoDB Badminton Scheduling and Information Webapp

Installation

This section guides you on how to setup this repo for your own use.

  1. First, ensure Terraform is installed on your dev computer.

  2. Ensure the AWS CLI is also installed on your dev computer.

  3. In the AWS console, create an IAM User for Terraform to use.

  4. Run aws configure in your terminal to configure the AWS CLI to use said IAM User. This is how Terraform will gain access to your AWS account.

  5. In your desired project folder, clone the project with the following command:

    git clone https://github.com/PScoriae/terraform-infra
  6. Get your Cloudflare API token for Terraform to use.

  7. Get the Zone IDs for each Cloudflare DNS domain you wish to access through Terraform

  8. Create a terraform.tfvars file in the root directory of your project. It holds the credentials to your Cloudflare account. You may refer to terraform.example.tfvars

  9. Finally, run terraform init in the root directory to set up the Terraform backend.

terraform-infra's People

Contributors

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