No description
Find a file
dependabot[bot] d91dd1f210
chore(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2 ()
chore(deps): bump github.com/google/go-containerregistry

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.20.1 to 0.20.2.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](https://github.com/google/go-containerregistry/compare/v0.20.1...v0.20.2)

---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 13:04:03 +01:00
.github chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 () 2024-08-09 12:21:02 +01:00
docs chore: update README.md () 2024-08-09 11:02:20 +01:00
examples chore: update README.md () 2024-08-09 11:02:20 +01:00
internal/provider feat: add remote_repo_build_mode envbuilder option () 2024-08-09 10:32:30 +01:00
testutil/registrytest implement first pass at cached image data source () 2024-08-01 21:26:44 +01:00
tools chore: pre-publish tidy () 2024-08-07 16:38:15 +01:00
.copywrite.hcl Initial commit 2024-07-18 14:43:45 +03:00
.gitignore implement first pass at cached image data source () 2024-08-01 21:26:44 +01:00
.golangci.yml Initial commit 2024-07-18 14:43:45 +03:00
.goreleaser.yml Initial commit 2024-07-18 14:43:45 +03:00
GNUmakefile feat: add remote_repo_build_mode envbuilder option () 2024-08-09 10:32:30 +01:00
go.mod chore(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2 () 2024-08-09 13:04:03 +01:00
go.sum chore(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2 () 2024-08-09 13:04:03 +01:00
LICENSE chore: pre-publish tidy () 2024-08-07 16:38:15 +01:00
main.go chore: pre-publish tidy () 2024-08-07 16:38:15 +01:00
README.md chore: update README.md () 2024-08-09 11:02:20 +01:00
terraform-registry-manifest.json Initial commit 2024-07-18 14:43:45 +03:00

terraform-provider-envbuilder

The terraform-provider-envbuilder is a Terraform provider that acts as a helper for setting up envbuilder environments.

It is used to determine if a pre-built image of a dev container built from a given Git repository is present in a given Docker registry. If it is found that building a particular dev container would produce the same image that is already present in the remote registry, then that image can be used to start the container instead, skipping over the build phase.

Usage

Take a look at the envbuilder_cached_image_resource.tf example for a detailed usage example.

For use with Coder, see the Dev Containers documentation and check out the example templates:

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Using the provider

Fill this in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

make testacc