codefresh-contrib / terraform-sample-app

Example of CI/CD pipeline with terraform

Home Page:https://codefresh.io/docs/docs/yaml-examples/examples/terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Terraform inside Docker with Codefresh

Docker plus Terraform plus Codefresh

This is an example Terraform deployment that runs in a Codefresh pipeline using docker. More details can be found in the documentation page.

Prerequisites

  1. Create a free Codefresh account
  2. Create a Google cloud account
  3. Create a Google Service account key

Create Codefresh pipeline

To use Terraform with Codefresh

  1. Create a new pipeline
  2. Add you service account json as a variable called ACCOUNT_JSON_CONTENT
  3. Add the pipeline content

That's it! Run the pipeline to see it in action.

Enjoy!

About

Example of CI/CD pipeline with terraform

https://codefresh.io/docs/docs/yaml-examples/examples/terraform


Languages

Language:HCL 100.0%