# Update Tags on Existing Resources?

**URL:** <https://discuss.hashicorp.com/t/update-tags-on-existing-resources/7539>\
**Category:** Terraform\
**Created:** [April 9, 2020, 4:37pm UTC](https://discuss.hashicorp.com/t/update-tags-on-existing-resources/7539 "2020-04-09T16:37:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![fligi7](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/fligi7/32/5887_2.png) [@fligi7](https://discuss.hashicorp.com/u/fligi7)\
**Post date:** [April 14, 2020, 2:24am UTC](https://discuss.hashicorp.com/t/update-tags-on-existing-resources/7539/6 "2020-04-14T02:24:06Z")

</div>

Right, that would be my preferred way to do this all.

However, doing it that way by creating a separate EBS volume resource in turn causes problems upon `destroy` because Terraform tries to detach it from the Instance before powering down - which hangs indefinitely and the Instance never powers down.

See my previous post here (['depends\_on' appears to have no effect. What am I doing wrong?](https://discuss.hashicorp.com/t/depends-on-appears-to-have-no-effect-what-am-i-doing-wrong/7511/4)) where I was trying to do it that way and was informed I instead needed to declare the EBS volume inside the `aws_instance` declaration so that Terraform would know how to handle it upon Instance shutdown.

Hence, I find myself now needing to figure out how to add tags to the EBS block created in an `aws_instance` resource, but after the fact.

I hope that makes sense. I just can’t figure out how to do so.

Ideally there is some function that allows me to pass an EBS volume ID and can simply add/update existing Tags. I have yet to discover if this exists.

---

_[View the full topic](https://discuss.hashicorp.com/t/update-tags-on-existing-resources/7539)._
