Skip to content

fix(reconciler): Remove the `docker_image.gitlab_registry_image` resource.

Florian Forster requested to merge fforster/gitlab_registry_image into main

fix(reconciler): Remove the docker_image.gitlab_registry_image resource.

It was effectively used like a data source, causing false positive detections of out-of-band changes.

It seems to me that we can just replace the docker_image resource and reference the image by its name in the docker_tag resource.

If I'm missing something and referencing imaged by their SHA256 checksum is necessary for some reason, we need to use the docker_registry_image data source and its sha256_digest read-only attribute.

Edited by Florian Forster

Merge request reports