terraform-provider-ko

command module
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL