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

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

  • Comments

    • moio
      almost 3 years ago by moio | Reply

      Out of curiosity, how did this project go?

    Similar Projects

    Predefined app security policy template for NeuVector by feih

    Project Description

    Idea is to predefin...


    mikrolite - a cli to create lighweight Kubernetes clusters using microvms by rcase

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


    RKE2/K3S working on IBM Power by tkelly

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


    A CLI for Harvester by mohamed.belgaied

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