CircleCI Terraform provider

CircleCI Terraform provider would be great addition as it would allow to manage CircleCI projects using code.

  • Guest
  • Apr 24 2018
  • Taking votes
  • Attach files
  • Stephen D commented
    September 12, 2019 16:33

    As others have mentioned, there is an existing provider written by, but it is not listed on


    Given CircleCI is heavy users of Hashicorp products (and appeared at Hashiconf), it seems reasonable that you maintain an official CircleCI provider.


    Doing so would also help your engineering team see where your APIs are lacking (e.g., This would drive a virtuous cycle of API improvement.

  • San Nguyen commented
    May 08, 2019 09:19

    it would be nice if CircleCI forks those 3rd plugins and make their own plugin so it will be more reliable and up-to-date with circleci resource.

  • Pi Delport commented
    March 30, 2019 02:44

    There is this provider, for reference:

  • Guest commented
    December 10, 2018 08:57

    @ Rose

    as Guest, said, the goal would be to manage the pipeline itself as code (in terraform) not the actual project which, as you say, is already code. Creating pipelines in CIrcleCI should be an automated process whereas it is currently a largely manual process.

  • Guest commented
    December 07, 2018 20:10


    Not exactly, you can manage the configuration of a project in the YAML config, but not have the project itself start building, or manage parameters. For organizations with a large number of projects, managing which projects are building, and which options they have, is not ideal, since, as best I know, it can mostly only be managed via the web GUI. Also, setting up a job involves following it yourself, which is not always the  desired behavior.

    That said, even before the tf provider, I think some of these options would need to be exposed in the API. For example, I don't think you can update advanced build options (like 'only build PRs', 'preempt builds', enabling preview version, etc., except via the API.

  • Rose Kaplan-Bomberg commented
    December 07, 2018 19:20

    Thanks! I'm not sure I follow...

    it would allow to manage CircleCI projects using code

    Isn't that how CircleCI projects are already managed?

  • Guest commented
    December 03, 2018 14:57

    This would be an awesome addition to be able to automate the end to end creation of CCI pipelines.