/terraform-provider-knative

⛰️ A Terraform Provider for Knative. Easily manage your Knative Services using Terraform!

Primary LanguageGoMozilla Public License 2.0MPL-2.0

⛰️ Terraform Knative Provider

Tests

Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers. This Terraform Provider lets you deploy and manage your Knative Services using Terraform. Maybe one day it'll support Knative Eventing, or even handle installing Knative for you.

Getting Started

Simply declare the provider as a requirement:

terraform {
  required_version = ">= 0.13"

  required_providers {
    knative = {
      source  = "theomessin/knative"
      version = ">= 0.1.1"
    }
  }
}

Now use the provider. For example, read the URL of an existing Service:

data "knative_service" "this" {
  name = "app"
}

output "app" {
  url = data.knative_service.this.status.url
}