ko-build/terraform-provider-ko

Build and deploy Go applications with Terraform

31

stars

488

commits

Go

primary language

Sep 13, 2026

updated

registry.terraform.io/providers/ko-build/ko
container-image
ko
terraform-provider

README

Terraform Provider for ko

๐Ÿšจ This is a work in progress. ๐Ÿšจ

https://registry.terraform.io/providers/ko-build/ko

Usage

This provides a ko_build resource that will build the referenced Go application specified by the importpath, push an image to the configured container repository, and make the image's reference available to other Terraform resources.

provider "ko" {}

resource "ko_build" "example" {
  importpath = "github.com/ko-build/terraform-provider-ko/cmd/test"
}

See provider examples:

The image will be rebuilt every time it's referenced, and will only report as having changed if the image that was built was different since the last time the image resource was read.

This means that terraform plan will rebuild all referenced images, but only show diffs if rebuilds resulted in new images since last time the plan was made.

Contributors

dependabot[bot]

202 commits

imjasonh

164 commits

cpanato

96 commits

mattmoor

8 commits

ko-build/terraform-provider-ko

Build and deploy Go applications with Terraform

31

stars

488

commits

Go

primary language

Sep 13, 2026

updated

registry.terraform.io/providers/ko-build/ko
container-image
ko
terraform-provider

README

Terraform Provider for ko

๐Ÿšจ This is a work in progress. ๐Ÿšจ

https://registry.terraform.io/providers/ko-build/ko

Usage

This provides a ko_build resource that will build the referenced Go application specified by the importpath, push an image to the configured container repository, and make the image's reference available to other Terraform resources.

provider "ko" {}

resource "ko_build" "example" {
  importpath = "github.com/ko-build/terraform-provider-ko/cmd/test"
}

See provider examples:

The image will be rebuilt every time it's referenced, and will only report as having changed if the image that was built was different since the last time the image resource was read.

This means that terraform plan will rebuild all referenced images, but only show diffs if rebuilds resulted in new images since last time the plan was made.

Contributors

dependabot[bot]

202 commits

imjasonh

164 commits

cpanato

96 commits

mattmoor

8 commits

Languages

Go

80.3%

HCL

19.7%