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
@@ -25,6 +25,7 @@ The cached image resource can be used to retrieve a cached image produced by env
25
25
26
26
-`base_image_cache_dir` (String) (Envbuilder option) The path to a directory where the base image can be found. This should be a read-only directory solely mounted for the purpose of caching the base image.
27
27
-`build_context_path` (String) (Envbuilder option) Can be specified when a DockerfilePath is specified outside the base WorkspaceFolder. This path MUST be relative to the WorkspaceFolder path into which the repo is cloned.
28
+
-`build_secrets` (Map of String) The secrets to use for the build. This is a map of key-value pairs.
28
29
-`cache_ttl_days` (Number) (Envbuilder option) The number of days to use cached layers before expiring them. Defaults to 7 days.
29
30
-`devcontainer_dir` (String) (Envbuilder option) The path to the folder containing the devcontainer.json file that will be used to build the workspace and can either be an absolute path or a path relative to the workspace folder. If not provided, defaults to `.devcontainer`.
30
31
-`devcontainer_json_path` (String) (Envbuilder option) The path to a devcontainer.json file that is either an absolute path or a path relative to DevcontainerDir. This can be used in cases where one wants to substitute an edited devcontainer.json file for the one that exists in the repo.
MarkdownDescription: "(Envbuilder option) Can be specified when a DockerfilePath is specified outside the base WorkspaceFolder. This path MUST be relative to the WorkspaceFolder path into which the repo is cloned.",
122
123
Optional: true,
123
124
},
125
+
"build_secrets": schema.MapAttribute{
126
+
MarkdownDescription: "The secrets to use for the build. This is a map of key-value pairs.",
127
+
ElementType: types.StringType,
128
+
Optional: true,
129
+
},
124
130
"cache_ttl_days": schema.Int64Attribute{
125
131
MarkdownDescription: "(Envbuilder option) The number of days to use cached layers before expiring them. Defaults to 7 days.",
0 commit comments