Sergey Bolshakov

Results 10 comments of Sergey Bolshakov

`test-api`? Which example can I use to reproduce this? :thinking: Cuz in general, `track_latest` works for me: when the `image` in config is different from Terraform state, but is the...

@ivan-sukhomlyn >I guess it's obvious that I replaced the real names of my project with those values, including the image tag. Yes, but which project? Is there some nice, minimal,...

>single option to get an expected result of not tracking image tag changes outside of Terraform is to have a separate resource for the ECS container definition There is at...

Well, in the worst case, can't we wrap it into something like: ```tf variable "force_new_image" { type = bool default = true # ... } variable "new_image" { type =...

And a design note - I think it would be much more user-friendly to hide both `ignore_task_definition_changes` and `task_definition_track_latest` variables, and instead, expose the ability to enable the desired behavior...

@fextr Good question! Indeed, the example you cite assumes that the container already exists. If I were to generalize it a bit, for a simple workflow with one image, I...

I think the recently merged #30154 does solve the problem. Here's how it works for me: ```tf track_latest = true image = data.aws_ecs_container_definition.this.image ``` Terraform is now smart enough to...

Btw, for curiosity, another workaround I was employing for this was to run: ```tf terraform apply -refresh-only ``` Terraform was smart enough to only update task definition revision in its...

I can relate to you. 🙂 I ended up simply running this before working with terraform: ```tf terraform apply -refresh-only ``` This reconciles the state with reality a bit, and...