Closed DaMandal0rian closed 1 hour ago
โฑ๏ธ Estimated effort to review: 1 ๐ตโชโชโชโช |
๐งช No relevant tests |
๐ No security concerns identified |
โก Key issues to review None |
Category | Suggestion | Score |
Enhancement |
Automate the docker-tag value by using Terraform's built-in functions to dynamically generate the date___ **To ensure that the docker-tag is dynamically set based on the current date, consider usinga Terraform function to generate the date string. This will automate the process and reduce the risk of human error in manually updating the date.** [resources/gemini-3h/main.tf [12]](https://github.com/subspace/infra/pull/320/files#diff-83d1daccff89c413536b6dd17f663d4f58f0e3f1d5f8347356bc312ed0dd4b27R12-R12) ```diff -docker-tag = "gemini-3h-2024-jul-05" +docker-tag = "gemini-3h-${formatdate("YYYY-MMM-DD", timestamp())}" ``` Suggestion importance[1-10]: 9Why: This suggestion automates the docker-tag value, reducing the risk of human error and ensuring consistency. It is a significant improvement in terms of maintainability and reliability. | 9 |
PR Type
enhancement
Description
docker-tag
values in theresources/gemini-3h/main.tf
file for various instances to reflect the new versiongemini-3h-2024-jul-05
.Changes walkthrough ๐
main.tf
Update docker-tag values for gemini-3h instances
resources/gemini-3h/main.tf
docker-tag
values for multiple instances fromgemini-3h-2024-may-24
togemini-3h-2024-jul-05
.