Solve Terraform docker_image `latest` Attribute Deprecated issue

If you use kreuzwerker/docker as the Terraform Docker provider, you might have seen a similar deprecated attribute warning here below since version 2.13.0. │ Warning: Deprecated attribute │ │ on main.tf line 18, in resource "docker_container" "name": │ 18: image = docker_image.[image_name].latest terraform { │ │ The attribute "latest" is deprecated. Refer to the provider documentation for details. │ │ (and one more similar warning elsewhere) While both documetations of the provider and Terraform tutorial were still using the latest attribute in their examples....

October 15, 2022 · Vokey