GithubHelp home page GithubHelp logo

Comments (3)

im2nguyen avatar im2nguyen commented on September 21, 2024

Thanks for going through the tutorial!

The Deploy Terraform infrastructure with CircleCI describes the use case you're looking for. This tutorial implements the concepts touched on in the Running Terraform in Automation tutorial.

If you've configured Terraform with S3 backend, it'll use the state in the S3 bucket to generate the plan. To simulate a "remote plan", you want to create a pipeline broken down into two main steps.

  1. Initialize configuration and generate plan terraform plan -out tfapply -var-file variables.tfvars
  2. Use terraform apply -auto-approve tfapply to apply the plan binary generated from step 1

I highly recommend reading the two tutorials linked above. If you have any addition questions, I'm happy to help!

from learn-terraform-github-actions.

im2nguyen avatar im2nguyen commented on September 21, 2024

This issue #24 touches adding a manual approval process.

You can also try Terraform Cloud. It has a free tier with remote plan/state, GitHub integrations, and more. This tutorial walks you through migrating your current configuration to Terraform Cloud.

from learn-terraform-github-actions.

ricardo-f avatar ricardo-f commented on September 21, 2024

Nice, thanks for the tips :)

from learn-terraform-github-actions.

Related Issues (14)

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.