provider-crossplane-terraform
Published 2 days agoBy mgeorge67701
Homeprovidersprovider-crossplane-terraform
Overview
A Crossplane provider for managing Terraform resources with native Kubernetes APIs - by Mohan George

Crossplane Terraform Provider

A modern, secure Crossplane provider that enables you to manage Terraform resources using native Kubernetes APIs.

🚀 Features

  • Native Kubernetes API: Manage Terraform resources as Kubernetes objects
  • Terraform 1.12.2: Latest stable version with security patches
  • Multi-Architecture: Support for amd64 and arm64 platforms
  • Secure by Default: No hardcoded secrets, secure file permissions
  • Dynamic Backends: Support for all Terraform backends (S3, GCS, Azure, etc.)
  • GitOps Ready: Declarative configuration management
  • Workspace Management: Full support for Terraform workspaces

📦 Managed Resources

  • Terraform: Manage complete Terraform configurations as Kubernetes resources
  • Workspace: Manage Terraform workspaces with state isolation

🚀 Quick Install

kubectl crossplane install provider xpkg.upbound.io/mgeorge67701/provider-crossplane-terraform:v3.2.0

💡 Example Usage

apiVersion: terraform.crossplane.io/v1alpha1
kind: Terraform
metadata:
  name: my-s3-bucket
spec:
  forProvider:
    configuration: |
      terraform {
        required_providers {
          aws = {
            source = "hashicorp/aws"
            version = "~> 5.0"
          }
        }
      }
      
      resource "aws_s3_bucket" "example" {
        bucket = var.bucket_name
      }
    variables:
      bucket_name: "my-crossplane-bucket"
    backend:
      type: "s3"
      configuration:
        bucket: "my-terraform-state"
        key: "terraform.tfstate"
        region: "us-west-2"
  providerConfigRef:
    name: default

🔧 Configuration

Create a ProviderConfig:

apiVersion: terraform.crossplane.io/v1alpha1
kind: ProviderConfig
metadata:
  name: default
spec:
  credentials:
    source: Secret
    secretRef:
      namespace: crossplane-system
      name: terraform-creds
      key: credentials

📚 Documentation

For complete documentation, examples, and CI/CD setup, visit: GitHub Repository


Built with ❤️ for the Crossplane community

Discover the building blocks for your internal cloud platform.
© 2025 Upbound, Inc.
Solutions
Learn
Company
More