All Projects → anubhavmishra → terraform-github-actions-demo

anubhavmishra / terraform-github-actions-demo

Licence: MPL-2.0 license
HashiCorp Terraform Github Actions Demo for Github Satellite 2020.

Programming Languages

HTML
75241 projects
HCL
1544 projects

Projects that are alternatives of or similar to terraform-github-actions-demo

vim-hcl
Syntax highlighting for HashiCorp Configuration Language (HCL)
Stars: ✭ 83 (+107.5%)
Mutual labels:  hcl, hashicorp
Hcl
HCL is the HashiCorp configuration language.
Stars: ✭ 3,749 (+9272.5%)
Mutual labels:  hcl, hashicorp
rust-hcl
A Rust library for working with the HashiCorp Configuration Language (HCL).
Stars: ✭ 14 (-65%)
Mutual labels:  hcl, hashicorp
K2tf
Kubernetes YAML to Terraform HCL converter
Stars: ✭ 477 (+1092.5%)
Mutual labels:  hcl, hashicorp
Atlantis On Gke
A set of @HashiCorp Terraform configurations for running Atlantis on @GoogleCloud GKE
Stars: ✭ 44 (+10%)
Mutual labels:  hcl, hashicorp
Vaultron
🤖 Vault clusters Terraformed onto Docker for great fun and learning!
Stars: ✭ 96 (+140%)
Mutual labels:  hcl, hashicorp
vim-hclfmt
Vim plugin for hclfmt
Stars: ✭ 68 (+70%)
Mutual labels:  hcl, hashicorp
Terraform Best Practices
Terraform Best Practices for AWS users
Stars: ✭ 931 (+2227.5%)
Mutual labels:  hcl, hashicorp
Hcloud Okd4
Deploy OKD4 (OpenShift) on Hetzner Cloud
Stars: ✭ 29 (-27.5%)
Mutual labels:  hcl, hashicorp
Nomadfiles
A collection of Nomad job files for deploying applications to a cluster
Stars: ✭ 89 (+122.5%)
Mutual labels:  hcl, hashicorp
stein
A linter for config files with a customizable rule set
Stars: ✭ 92 (+130%)
Mutual labels:  hcl, hashicorp
gitactionboard
GitactionBoard - Ultimate Dashboard for GithubActions.
Stars: ✭ 30 (-25%)
Mutual labels:  github-actions
mylib
Шаблон кросплатформенного CMake-проекта для языка C++ 🇬🇧 Modern CMake crossplatform project template for C++
Stars: ✭ 49 (+22.5%)
Mutual labels:  github-actions
vault-terraform-demo
Deploy HashiCorp Vault with Terraform in GKE.
Stars: ✭ 47 (+17.5%)
Mutual labels:  hashicorp
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+115%)
Mutual labels:  github-actions
typescript-api-starter
🔰 Starter for Node.js express API in Typescript 🚀
Stars: ✭ 72 (+80%)
Mutual labels:  github-actions
corona-kakao-bot
🤖 카카오톡 코로나 알리미
Stars: ✭ 17 (-57.5%)
Mutual labels:  github-actions
nomad
Dockerized Nomad
Stars: ✭ 33 (-17.5%)
Mutual labels:  hashicorp
github-action-scp
⬆️ Copy a folder to a remote server using SSH
Stars: ✭ 123 (+207.5%)
Mutual labels:  github-actions
transfer
Converts from one encoding to another. Supported formats HCL ⇄ JSON ⇄ YAML⇄TOML⇄XML⇄plist⇄pickle⇄properties ...
Stars: ✭ 70 (+75%)
Mutual labels:  hcl

Terraform Github Actions Demo

This repository contains Terraform configuration and Github Action workflow for Collaborative application and infrastructure workflow using GitHub Actions and HashiCorp Terraform talk at Github Satellite 2020.

Overview

Overview

Prerequisites

  • HashiCorp Terraform installed. (version: > 0.12.x)
  • AWS Account.
  • Cloudflare Account.

Optional

Terraform cloud can be used to store remote state. If you want to use the Terraform cloud remote state backend you can uncomment the code in remote.tf file.

You can generate a user api token using the guide: https://www.terraform.io/docs/cloud/users-teams-organizations/users.html#api-tokens

Configure AWS authentication

export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""

Configure Terraform variables

export TF_VAR_cloudflare_email="[email protected]"
export TF_VAR_cloudflare_api_token="abcdxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export TF_VAR_cloudflare_zone_id="a1b2xxxxxxxxxxxxxxxxxxxxxxxxxxx"

Usage

Clone the github repository

git clone https://github.com/anubhavmishra/terraform-github-actions-demo.git

Open the terraform-github-actions-demo directory.

cd terraform-github-actions-demo

Run Terraform init.

terraform init

Run Terraform plan.

terraform plan

Run Terraform apply.

terraform apply
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].