ndajr / terraform-aws-drone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-drone

Base structure for Drone CI/CD pipeline using terraform to create AWS resources.

Installation

Programs required:

  • terraform
  • tflint
  1. Replace the variables on tfvars and locals.tf to your account info.
  2. For the first time you run, comment the "backend s3" line on providers.tf
  3. Set the aws credentials using the aws-cli command aws configure
  4. cd terraform && terraform init && terraform apply -var-file config/dev/terraform.tfvars

Usage

After the dynamo and s3 tfstate creation:

Plan

make plan

Apply

make apply

About


Languages

Language:HCL 58.7%Language:Makefile 41.3%