Skip to content

akkiyashi/TerraformPipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitops-terraform-jenkins

Overview

This repository will demonstrate an example GitOps workflow with Terraform and Jenkins.

The configuration in this repository was updated and now supports Terraform v0.12.19.

Video can be found here:

https://youtu.be/qFjGqPw1NUY

Requirements

  • Terraform installed on Jenkins
  • Correct plugins installed on Jenkins
  • GitHub access token
  • AWS credentials
  • S3 bucket

Setup Bucket

You will need to create a bucket and reference the bucket name in the following section of main.tf:

terraform {
  backend "s3" {
    bucket = "terraform-bucket-alex"
    key    = "terraform.tfstate"
    region = "us-east-1"
  }
}

You can also update the key name to whatever you want your state file to be named.

Plugins Required

Questions?

Open an issue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages