Project Description

Terraform's remote backend requires a Terraform Cloud account and has an initial limited offering. While the initial offering is suitable for small resource management and teams this quickly becomes an issue as usage demands increase. In addition Terraform's remote operations (plan,apply, etc) are executed on HashiCorp's cloud resources which present issues for sensitive data such as passwords and access keys. Users are also constrained to as what tooling is available on the remote execution environment for example having kubectl as part of a local-resource. This project aims to address these shortcomings in a native Kubernetes implementation.

Goal for this Hackweek

  • Have remote plan and apply operations execution handled in Kubernetes
  • State management: locking and storage
  • Logging: execution output (plan and apply)
  • User interface: view execution output and approve apply operations
  • Helm chart for deploying project

Stretch Goals

  • Trigger plan on Github PR

Implementation

We hope to take the rancher terraform-controller and add a REST API to it to speak Terraform Cloud (sometimes called tfe or terraform enterprise in their docs). We should be able to deploy the controller and write HCL with a backend remote hostname to this new API and run terraform plan/apply from your desktop and use resources in your k8s cluster.

Resources

Looking for hackers with the skills:

terraform kubernetes

This project is part of:

Hack Week 20

Activity

  • almost 2 years ago: ckim joined this project.
  • almost 2 years ago: wgodfrey joined this project.
  • almost 2 years ago: moio liked this project.
  • almost 2 years ago: hbarnes joined this project.
  • almost 2 years ago: luthermonson liked this project.
  • almost 2 years ago: rkirkpatrick joined this project.
  • almost 2 years ago: nroberts liked this project.
  • almost 2 years ago: luthermonson joined this project.
  • almost 2 years ago: nroberts joined this project.
  • almost 2 years ago: cluse started this project.
  • almost 2 years ago: nroberts added keyword "kubernetes" to this project.
  • almost 2 years ago: nroberts added keyword "terraform" to this project.
  • almost 2 years ago: nroberts originated this project.

  • Comments

    • moio
      almost 2 years ago by moio | Reply

      Out of curiosity, how did this project go?

    Similar Projects

    Rancher Manager of Managers with KCP by rcase

    [comment]: # (Please use the project descriptio...


    A CLI for Harvester by mohamed.belgaied

    [comment]: # Harvester does not officially come...


    Vai: a Kubernetes API accelerator/cache by moio

    ![Kubernetes API caching layer according to Sta...


    Real-time container runtime support by a_faerber

    [comment]: # (Please use the project descriptio...


    Learn about kubernetes by creating a k3s HA setup by rsimai

    This is mostly a learning activity for myself, ...