Skip to content

Commit 2d46056

Browse files
committed
fixup! cut off provider example
1 parent 44dcd9b commit 2d46056

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

docs/index.md

-28
Original file line numberDiff line numberDiff line change
@@ -23,34 +23,6 @@ terraform {
2323
2424
// The provider currently requires no additional configuration.
2525
provider "envbuilder" {}
26-
27-
// Creating this resource will check the registry located at
28-
// localhost:5000 for the presence of a devcontainer built from
29-
// the specified Git repo.
30-
resource "envbuilder_cached_image" "example" {
31-
builder_image = "ghcr.io/coder/envbuilder:latest"
32-
git_url = "https://github.com/coder/envbuilder-starter-devcontainer"
33-
cache_repo = "localhost:5000"
34-
}
35-
36-
37-
// If the image is found in the remote repo, this output
38-
// will be equal to the remote cached image. Otherwise
39-
// it will be set to the value of `builder_image`.
40-
output "image" {
41-
value = envbuilder_cached_image.example.image
42-
}
43-
44-
// Whether the remote cached image was found or not.
45-
output "exists" {
46-
value = envbuilder_cached_image.example.exists
47-
}
48-
49-
// The SHA256 repo digest of the remote image, if found.
50-
// Otherwise, this will be the null UUID.
51-
output "id" {
52-
value = envbuilder_cached_image.example.id
53-
}
5426
```
5527

5628
<!-- schema generated by tfplugindocs -->

0 commit comments

Comments
 (0)