File tree 1 file changed +0
-28
lines changed
1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -23,34 +23,6 @@ terraform {
23
23
24
24
// The provider currently requires no additional configuration.
25
25
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
- }
54
26
```
55
27
56
28
<!-- schema generated by tfplugindocs -->
You can’t perform that action at this time.
0 commit comments