Skip to content

Commit 1de4e49

Browse files
committed
add TODO
1 parent 50ff762 commit 1de4e49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/provider/cached_image_data_source.go

+2
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ func (d *CachedImageDataSource) Read(ctx context.Context, req datasource.ReadReq
264264
tflog.Error(ctx, "failed to create kaniko dir: "+err.Error())
265265
}
266266

267+
// TODO: check if this is a "plan" or "apply", and only run envbuilder on "apply".
268+
// This may require changing this to be a resource instead of a data source.
267269
opts := eboptions.Options{
268270
// These options are always required
269271
CacheRepo: data.CacheRepo.ValueString(),

0 commit comments

Comments
 (0)