You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/cached_image.md
+1
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ The cached image resource can be used to retrieve a cached image produced by env
41
41
-`git_username` (String) (Envbuilder option) The username to use for Git authentication. This is optional.
42
42
-`ignore_paths` (List of String) (Envbuilder option) The comma separated list of paths to ignore when building the workspace.
43
43
-`insecure` (Boolean) (Envbuilder option) Bypass TLS verification when cloning and pulling from container registries.
44
+
-`remote_repo_build_mode` (Boolean) (Envbuilder option) RemoteRepoBuildMode uses the remote repository as the source of truth when building the image. Enabling this option ignores user changes to local files and they will not be reflected in the image. This can be used to improve cache utilization when multiple users are working on the same repository.
44
45
-`ssl_cert_base64` (String) (Envbuilder option) The content of an SSL cert file. This is useful for self-signed certificates.
MarkdownDescription: "(Envbuilder option) Bypass TLS verification when cloning and pulling from container registries.",
207
208
Optional: true,
208
209
},
210
+
"remote_repo_build_mode": schema.BoolAttribute{
211
+
MarkdownDescription: "(Envbuilder option) RemoteRepoBuildMode uses the remote repository as the source of truth when building the image. Enabling this option ignores user changes to local files and they will not be reflected in the image. This can be used to improve cache utilization when multiple users are working on the same repository.",
212
+
Optional: true,
213
+
PlanModifiers: []planmodifier.Bool{
214
+
boolplanmodifier.RequiresReplace(),
215
+
},
216
+
},
209
217
"ssl_cert_base64": schema.StringAttribute{
210
218
MarkdownDescription: "(Envbuilder option) The content of an SSL cert file. This is useful for self-signed certificates.",
0 commit comments